VirtualBox

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


Ignore:
Timestamp:
Apr 7, 2023 12:24:52 PM (22 months ago)
Author:
vboxsync
Message:

VMM/IEM: IEM_MC_MAYBE_RAISE_AVX2_RELATED_XCPT -> IEM_MC_MAYBE_RAISE_AVX_RELATED_XCPT, since the CPUID check was removed they are identical. bugref:10369

File:
1 edited

Legend:

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

    r99333 r99335  
    9090    } while (0)
    9191#define IEM_MC_MAYBE_RAISE_AVX_RELATED_XCPT() \
    92     do { \
    93         if (   (pVCpu->cpum.GstCtx.aXcr[0] & (XSAVE_C_YMM | XSAVE_C_SSE)) != (XSAVE_C_YMM | XSAVE_C_SSE) \
    94             || !(pVCpu->cpum.GstCtx.cr4 & X86_CR4_OSXSAVE)) \
    95             return iemRaiseUndefinedOpcode(pVCpu); \
    96         if (pVCpu->cpum.GstCtx.cr0 & X86_CR0_TS) \
    97             return iemRaiseDeviceNotAvailable(pVCpu); \
    98     } while (0)
    99 #define IEM_MC_MAYBE_RAISE_AVX2_RELATED_XCPT() \
    10092    do { \
    10193        if (   (pVCpu->cpum.GstCtx.aXcr[0] & (XSAVE_C_YMM | XSAVE_C_SSE)) != (XSAVE_C_YMM | XSAVE_C_SSE) \
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