VirtualBox

Changeset 99343 in vbox


Ignore:
Timestamp:
Apr 7, 2023 12:44:56 PM (20 months ago)
Author:
vboxsync
Message:

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

Location:
trunk/src/VBox/VMM
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllInstructionsPython.py

    r99342 r99343  
    26562656    'IEM_MC_MAYBE_RAISE_MMX_RELATED_XCPT':                       McBlock.parseMcGeneric,
    26572657    'IEM_MC_MAYBE_RAISE_NON_CANONICAL_ADDR_GP0':                 McBlock.parseMcGeneric,
    2658     'IEM_MC_MAYBE_RAISE_PCLMUL_RELATED_XCPT':                    McBlock.parseMcGeneric,
    26592658    'IEM_MC_MAYBE_RAISE_SSE_AVX_SIMD_FP_OR_UD_XCPT':             McBlock.parseMcGeneric,
    26602659    'IEM_MC_MAYBE_RAISE_SSE_RELATED_XCPT':                       McBlock.parseMcGeneric,
  • trunk/src/VBox/VMM/VMMAll/IEMAllInstructionsThree0f3a.cpp.h

    r99342 r99343  
    10601060        IEM_MC_ARG(PCRTUINT128U,                puSrc,               1);
    10611061        IEM_MC_ARG_CONST(uint8_t,               bImmArg, /*=*/ bImm, 2);
    1062         IEM_MC_MAYBE_RAISE_PCLMUL_RELATED_XCPT();
     1062        IEM_MC_MAYBE_RAISE_SSE_RELATED_XCPT();
    10631063        IEM_MC_PREPARE_SSE_USAGE();
    10641064        IEM_MC_REF_XREG_U128(puDst,             IEM_GET_MODRM_REG(pVCpu, bRm));
     
    10861086        IEM_MC_ARG_CONST(uint8_t,               bImmArg, /*=*/ bImm, 2);
    10871087        IEMOP_HLP_DONE_DECODING_NO_LOCK_PREFIX_EX(fPclMul);
    1088         IEM_MC_MAYBE_RAISE_PCLMUL_RELATED_XCPT();
     1088        IEM_MC_MAYBE_RAISE_SSE_RELATED_XCPT();
    10891089        IEM_MC_FETCH_MEM_U128_ALIGN_SSE(uSrc, pVCpu->iem.s.iEffSeg, GCPtrEffSrc);
    10901090
  • trunk/src/VBox/VMM/include/IEMMc.h

    r99342 r99343  
    150150            return iemRaiseSimdFpException(pVCpu); \
    151151        return iemRaiseUndefinedOpcode(pVCpu); \
    152     } while (0)
    153 #define IEM_MC_MAYBE_RAISE_PCLMUL_RELATED_XCPT() \
    154     do { \
    155         if (   (pVCpu->cpum.GstCtx.cr0 & X86_CR0_EM) \
    156             || !(pVCpu->cpum.GstCtx.cr4 & X86_CR4_OSFXSR)) \
    157             return iemRaiseUndefinedOpcode(pVCpu); \
    158         if (pVCpu->cpum.GstCtx.cr0 & X86_CR0_TS) \
    159             return iemRaiseDeviceNotAvailable(pVCpu); \
    160152    } while (0)
    161153
  • trunk/src/VBox/VMM/testcase/tstIEMCheckMc.cpp

    r99342 r99343  
    586586#define IEM_MC_MAYBE_RAISE_SSE_AVX_SIMD_FP_OR_UD_XCPT() do { (void)fMcBegin; } while (0)
    587587#define IEM_MC_RAISE_SSE_AVX_SIMD_FP_OR_UD_XCPT()       do { (void)fMcBegin; } while (0)
    588 #define IEM_MC_MAYBE_RAISE_PCLMUL_RELATED_XCPT()        do { (void)fMcBegin; } while (0)
    589588
    590589#define IEM_MC_LOCAL(a_Type, a_Name) (void)fMcBegin; \
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