VirtualBox

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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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