VirtualBox

Ignore:
Timestamp:
Jul 9, 2024 10:20:02 AM (5 months ago)
Author:
vboxsync
Message:

VMM/IEM: Implement vdiv{ps,pd,ss,sd} instruction emulations, bugref:9898

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllInstVexMap1.cpp.h

    r105224 r105228  
    31213121
    31223122/** Opcode VEX.0F 0x5e - vdivps Vps, Hps, Wps */
    3123 FNIEMOP_STUB(iemOp_vdivps_Vps_Hps_Wps);
     3123FNIEMOP_DEF(iemOp_vdivps_Vps_Hps_Wps)
     3124{
     3125    IEMOP_MNEMONIC3(VEX_RVM, VDIVPS, vdivps, Vps, Hps, Wps, DISOPTYPE_HARMLESS | DISOPTYPE_X86_AVX, 0);
     3126    IEMOPMEDIAF3_INIT_VARS(          vdivps);
     3127    return FNIEMOP_CALL_1(iemOpCommonAvxAvx2_Vx_Hx_Wx, IEM_SELECT_HOST_OR_FALLBACK(fAvx, &s_Host, &s_Fallback));
     3128}
     3129
     3130
    31243131/** Opcode VEX.66.0F 0x5e - vdivpd Vpd, Hpd, Wpd */
    3125 FNIEMOP_STUB(iemOp_vdivpd_Vpd_Hpd_Wpd);
     3132FNIEMOP_DEF(iemOp_vdivpd_Vpd_Hpd_Wpd)
     3133{
     3134    IEMOP_MNEMONIC3(VEX_RVM, VDIVPD, vdivpd, Vpd, Hpd, Wpd, DISOPTYPE_HARMLESS | DISOPTYPE_X86_AVX, 0);
     3135    IEMOPMEDIAF3_INIT_VARS(          vdivpd);
     3136    return FNIEMOP_CALL_1(iemOpCommonAvxAvx2_Vx_Hx_Wx, IEM_SELECT_HOST_OR_FALLBACK(fAvx, &s_Host, &s_Fallback));
     3137}
     3138
     3139
    31263140/** Opcode VEX.F3.0F 0x5e - vdivss Vss, Hss, Wss */
    3127 FNIEMOP_STUB(iemOp_vdivss_Vss_Hss_Wss);
     3141FNIEMOP_DEF(iemOp_vdivss_Vss_Hss_Wss)
     3142{
     3143    IEMOP_MNEMONIC3(VEX_RVM, VDIVSS, vdivss, Vps, Hps, Wss, DISOPTYPE_HARMLESS | DISOPTYPE_X86_AVX, 0);
     3144    return FNIEMOP_CALL_1(iemOpCommonAvx_Vx_Hx_R32,
     3145                          IEM_SELECT_HOST_OR_FALLBACK(fAvx, iemAImpl_vdivss_u128_r32, iemAImpl_vdivss_u128_r32_fallback));
     3146}
     3147
     3148
    31283149/** Opcode VEX.F2.0F 0x5e - vdivsd Vsd, Hsd, Wsd */
    3129 FNIEMOP_STUB(iemOp_vdivsd_Vsd_Hsd_Wsd);
     3150FNIEMOP_DEF(iemOp_vdivsd_Vsd_Hsd_Wsd)
     3151{
     3152    IEMOP_MNEMONIC3(VEX_RVM, VDIVSD, vdivsd, Vpd, Hpd, Wsd, DISOPTYPE_HARMLESS | DISOPTYPE_X86_AVX, 0);
     3153    return FNIEMOP_CALL_1(iemOpCommonAvx_Vx_Hx_R64,
     3154                          IEM_SELECT_HOST_OR_FALLBACK(fAvx, iemAImpl_vdivsd_u128_r64, iemAImpl_vdivsd_u128_r64_fallback));
     3155}
     3156
    31303157
    31313158/** Opcode VEX.0F 0x5f - vmaxps Vps, Hps, Wps */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette