Changeset 99343 in vbox
- Timestamp:
- Apr 7, 2023 12:44:56 PM (20 months ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllInstructionsPython.py
r99342 r99343 2656 2656 'IEM_MC_MAYBE_RAISE_MMX_RELATED_XCPT': McBlock.parseMcGeneric, 2657 2657 'IEM_MC_MAYBE_RAISE_NON_CANONICAL_ADDR_GP0': McBlock.parseMcGeneric, 2658 'IEM_MC_MAYBE_RAISE_PCLMUL_RELATED_XCPT': McBlock.parseMcGeneric,2659 2658 'IEM_MC_MAYBE_RAISE_SSE_AVX_SIMD_FP_OR_UD_XCPT': McBlock.parseMcGeneric, 2660 2659 'IEM_MC_MAYBE_RAISE_SSE_RELATED_XCPT': McBlock.parseMcGeneric, -
trunk/src/VBox/VMM/VMMAll/IEMAllInstructionsThree0f3a.cpp.h
r99342 r99343 1060 1060 IEM_MC_ARG(PCRTUINT128U, puSrc, 1); 1061 1061 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(); 1063 1063 IEM_MC_PREPARE_SSE_USAGE(); 1064 1064 IEM_MC_REF_XREG_U128(puDst, IEM_GET_MODRM_REG(pVCpu, bRm)); … … 1086 1086 IEM_MC_ARG_CONST(uint8_t, bImmArg, /*=*/ bImm, 2); 1087 1087 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(); 1089 1089 IEM_MC_FETCH_MEM_U128_ALIGN_SSE(uSrc, pVCpu->iem.s.iEffSeg, GCPtrEffSrc); 1090 1090 -
trunk/src/VBox/VMM/include/IEMMc.h
r99342 r99343 150 150 return iemRaiseSimdFpException(pVCpu); \ 151 151 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); \160 152 } while (0) 161 153 -
trunk/src/VBox/VMM/testcase/tstIEMCheckMc.cpp
r99342 r99343 586 586 #define IEM_MC_MAYBE_RAISE_SSE_AVX_SIMD_FP_OR_UD_XCPT() do { (void)fMcBegin; } while (0) 587 587 #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)589 588 590 589 #define IEM_MC_LOCAL(a_Type, a_Name) (void)fMcBegin; \
Note:
See TracChangeset
for help on using the changeset viewer.