VirtualBox

Changeset 95473 in vbox for trunk/src/VBox/VMM/include


Ignore:
Timestamp:
Jul 1, 2022 11:20:41 AM (3 years ago)
Author:
vboxsync
Message:

VMM/IEM: [v]psub[bwdq]. bugref:9898

Location:
trunk/src/VBox/VMM/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/IEMInternal.h

    r95460 r95473  
    17511751FNIEMAIMPLMEDIAF2U64  iemAImpl_paddd_u64;
    17521752FNIEMAIMPLMEDIAF2U64  iemAImpl_paddq_u64;
     1753FNIEMAIMPLMEDIAF2U64  iemAImpl_psubb_u64;
     1754FNIEMAIMPLMEDIAF2U64  iemAImpl_psubw_u64;
     1755FNIEMAIMPLMEDIAF2U64  iemAImpl_psubd_u64;
     1756FNIEMAIMPLMEDIAF2U64  iemAImpl_psubq_u64;
    17531757
    17541758FNIEMAIMPLMEDIAF2U128 iemAImpl_pand_u128, iemAImpl_pandn_u128, iemAImpl_por_u128, iemAImpl_pxor_u128;
     
    17611765FNIEMAIMPLMEDIAF2U128 iemAImpl_paddd_u128;
    17621766FNIEMAIMPLMEDIAF2U128 iemAImpl_paddq_u128;
     1767FNIEMAIMPLMEDIAF2U128 iemAImpl_psubb_u128;
     1768FNIEMAIMPLMEDIAF2U128 iemAImpl_psubw_u128;
     1769FNIEMAIMPLMEDIAF2U128 iemAImpl_psubd_u128;
     1770FNIEMAIMPLMEDIAF2U128 iemAImpl_psubq_u128;
    17631771
    17641772FNIEMAIMPLMEDIAF3U128 iemAImpl_vpand_u128,      iemAImpl_vpand_u128_fallback;
     
    17781786FNIEMAIMPLMEDIAF3U128 iemAImpl_vpaddd_u128,     iemAImpl_vpaddd_u128_fallback;
    17791787FNIEMAIMPLMEDIAF3U128 iemAImpl_vpaddq_u128,     iemAImpl_vpaddq_u128_fallback;
     1788FNIEMAIMPLMEDIAF3U128 iemAImpl_vpsubb_u128,     iemAImpl_vpsubb_u128_fallback;
     1789FNIEMAIMPLMEDIAF3U128 iemAImpl_vpsubw_u128,     iemAImpl_vpsubw_u128_fallback;
     1790FNIEMAIMPLMEDIAF3U128 iemAImpl_vpsubd_u128,     iemAImpl_vpsubd_u128_fallback;
     1791FNIEMAIMPLMEDIAF3U128 iemAImpl_vpsubq_u128,     iemAImpl_vpsubq_u128_fallback;
    17801792
    17811793FNIEMAIMPLMEDIAF3U256 iemAImpl_vpand_u256,      iemAImpl_vpand_u256_fallback;
     
    17951807FNIEMAIMPLMEDIAF3U256 iemAImpl_vpaddd_u256,     iemAImpl_vpaddd_u256_fallback;
    17961808FNIEMAIMPLMEDIAF3U256 iemAImpl_vpaddq_u256,     iemAImpl_vpaddq_u256_fallback;
     1809FNIEMAIMPLMEDIAF3U256 iemAImpl_vpsubb_u256,     iemAImpl_vpsubb_u256_fallback;
     1810FNIEMAIMPLMEDIAF3U256 iemAImpl_vpsubw_u256,     iemAImpl_vpsubw_u256_fallback;
     1811FNIEMAIMPLMEDIAF3U256 iemAImpl_vpsubd_u256,     iemAImpl_vpsubd_u256_fallback;
     1812FNIEMAIMPLMEDIAF3U256 iemAImpl_vpsubq_u256,     iemAImpl_vpsubq_u256_fallback;
    17971813/** @} */
    17981814
  • trunk/src/VBox/VMM/include/IEMMc.h

    r95453 r95473  
    135135        if (   (pVCpu->cpum.GstCtx.cr0 & X86_CR0_EM) \
    136136            || !IEM_GET_GUEST_CPU_FEATURES(pVCpu)->fMmx) \
     137            return iemRaiseUndefinedOpcode(pVCpu); \
     138        if (pVCpu->cpum.GstCtx.cr0 & X86_CR0_TS) \
     139            return iemRaiseDeviceNotAvailable(pVCpu); \
     140        if (pVCpu->cpum.GstCtx.XState.x87.FSW & X86_FSW_ES) \
     141            return iemRaiseMathFault(pVCpu); \
     142    } while (0)
     143#define IEM_MC_MAYBE_RAISE_MMX_RELATED_XCPT_EX(a_fSupported) \
     144    do { \
     145        if (   (pVCpu->cpum.GstCtx.cr0 & X86_CR0_EM) \
     146            || !(a_fSupported)) \
    137147            return iemRaiseUndefinedOpcode(pVCpu); \
    138148        if (pVCpu->cpum.GstCtx.cr0 & X86_CR0_TS) \
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