VirtualBox

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


Ignore:
Timestamp:
Jun 30, 2022 9:43:46 AM (3 years ago)
Author:
vboxsync
Message:

VMM/IEM: [v]pcmpeqq and [v]pcmpgtq. bugref:9898

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

Legend:

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

    r95449 r95453  
    17501750FNIEMAIMPLMEDIAF2U128 iemAImpl_pand_u128, iemAImpl_pandn_u128, iemAImpl_por_u128, iemAImpl_pxor_u128;
    17511751FNIEMAIMPLMEDIAF2U128 iemAImpl_pcmpeqb_u128, iemAImpl_pcmpeqw_u128, iemAImpl_pcmpeqd_u128;
     1752FNIEMAIMPLMEDIAF2U128 iemAImpl_pcmpeqq_u128, iemAImpl_pcmpeqq_u128_fallback;
    17521753FNIEMAIMPLMEDIAF2U128 iemAImpl_pcmpgtb_u128, iemAImpl_pcmpgtw_u128, iemAImpl_pcmpgtd_u128;
     1754FNIEMAIMPLMEDIAF2U128 iemAImpl_pcmpgtq_u128, iemAImpl_pcmpgtq_u128_fallback;
    17531755
    17541756FNIEMAIMPLMEDIAF3U128 iemAImpl_vpand_u128,      iemAImpl_vpand_u128_fallback;
     
    17591761FNIEMAIMPLMEDIAF3U128 iemAImpl_vpcmpeqw_u128,   iemAImpl_vpcmpeqw_u128_fallback;
    17601762FNIEMAIMPLMEDIAF3U128 iemAImpl_vpcmpeqd_u128,   iemAImpl_vpcmpeqd_u128_fallback;
     1763FNIEMAIMPLMEDIAF3U128 iemAImpl_vpcmpeqq_u128,   iemAImpl_vpcmpeqq_u128_fallback;
    17611764FNIEMAIMPLMEDIAF3U128 iemAImpl_vpcmpgtb_u128,   iemAImpl_vpcmpgtb_u128_fallback;
    17621765FNIEMAIMPLMEDIAF3U128 iemAImpl_vpcmpgtw_u128,   iemAImpl_vpcmpgtw_u128_fallback;
    17631766FNIEMAIMPLMEDIAF3U128 iemAImpl_vpcmpgtd_u128,   iemAImpl_vpcmpgtd_u128_fallback;
     1767FNIEMAIMPLMEDIAF3U128 iemAImpl_vpcmpgtq_u128,   iemAImpl_vpcmpgtq_u128_fallback;
    17641768
    17651769FNIEMAIMPLMEDIAF3U256 iemAImpl_vpand_u256,      iemAImpl_vpand_u256_fallback;
     
    17701774FNIEMAIMPLMEDIAF3U256 iemAImpl_vpcmpeqw_u256,   iemAImpl_vpcmpeqw_u256_fallback;
    17711775FNIEMAIMPLMEDIAF3U256 iemAImpl_vpcmpeqd_u256,   iemAImpl_vpcmpeqd_u256_fallback;
     1776FNIEMAIMPLMEDIAF3U256 iemAImpl_vpcmpeqq_u256,   iemAImpl_vpcmpeqq_u256_fallback;
    17721777FNIEMAIMPLMEDIAF3U256 iemAImpl_vpcmpgtb_u256,   iemAImpl_vpcmpgtb_u256_fallback;
    17731778FNIEMAIMPLMEDIAF3U256 iemAImpl_vpcmpgtw_u256,   iemAImpl_vpcmpgtw_u256_fallback;
    17741779FNIEMAIMPLMEDIAF3U256 iemAImpl_vpcmpgtd_u256,   iemAImpl_vpcmpgtd_u256_fallback;
     1780FNIEMAIMPLMEDIAF3U256 iemAImpl_vpcmpgtq_u256,   iemAImpl_vpcmpgtq_u256_fallback;
    17751781/** @} */
    17761782
  • trunk/src/VBox/VMM/include/IEMMc.h

    r95421 r95453  
    9191            || !(pVCpu->cpum.GstCtx.cr4 & X86_CR4_OSFXSR) \
    9292            || !IEM_GET_GUEST_CPU_FEATURES(pVCpu)->fSse41) \
     93            return iemRaiseUndefinedOpcode(pVCpu); \
     94        if (pVCpu->cpum.GstCtx.cr0 & X86_CR0_TS) \
     95            return iemRaiseDeviceNotAvailable(pVCpu); \
     96    } while (0)
     97#define IEM_MC_MAYBE_RAISE_SSE42_RELATED_XCPT() \
     98    do { \
     99        if (   (pVCpu->cpum.GstCtx.cr0 & X86_CR0_EM) \
     100            || !(pVCpu->cpum.GstCtx.cr4 & X86_CR4_OSFXSR) \
     101            || !IEM_GET_GUEST_CPU_FEATURES(pVCpu)->fSse42) \
    93102            return iemRaiseUndefinedOpcode(pVCpu); \
    94103        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