- Timestamp:
- Oct 24, 2023 7:04:51 PM (14 months ago)
- Location:
- trunk/src/VBox/VMM/VMMAll
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllInstPython.py
r101581 r101583 2880 2880 'IEM_MC_FPU_STACK_UNDERFLOW_THEN_POP_POP': (McBlock.parseMcGeneric, True, False, ), 2881 2881 'IEM_MC_FPU_TO_MMX_MODE': (McBlock.parseMcGeneric, True, False, ), 2882 'IEM_MC_IF_CX_IS_NZ': (McBlock.parseMcGenericCond, True, False,),2882 'IEM_MC_IF_CX_IS_NZ': (McBlock.parseMcGenericCond, True, True, ), 2883 2883 'IEM_MC_IF_CX_IS_NZ_AND_EFL_BIT_NOT_SET': (McBlock.parseMcGenericCond, True, False, ), 2884 2884 'IEM_MC_IF_CX_IS_NZ_AND_EFL_BIT_SET': (McBlock.parseMcGenericCond, True, False, ), -
trunk/src/VBox/VMM/VMMAll/IEMAllN8veRecompiler.cpp
r101581 r101583 4556 4556 4557 4557 4558 #define IEM_MC_IF_CX_IS_NZ() \ 4559 off = iemNativeEmitIfCxIsNotZero(pReNative, off); \ 4560 AssertReturn(off != UINT32_MAX, UINT32_MAX); \ 4561 do { 4562 4563 /** Emits code for IEM_MC_IF_EFL_BIT_NOT_SET_AND_BITS_EQ and 4564 * IEM_MC_IF_EFL_BIT_SET_OR_BITS_NE. */ 4565 DECLINLINE(uint32_t) iemNativeEmitIfCxIsNotZero(PIEMRECOMPILERSTATE pReNative, uint32_t off) 4566 { 4567 PIEMNATIVECOND pEntry = iemNativeCondPushIf(pReNative); 4568 AssertReturn(pEntry, UINT32_MAX); 4569 4570 uint8_t const idxGstRcxReg = iemNativeRegAllocTmpForGuestReg(pReNative, &off, 4571 (IEMNATIVEGSTREG)(kIemNativeGstReg_GprFirst + X86_GREG_xCX), 4572 kIemNativeGstRegUse_ReadOnly); 4573 AssertReturn(idxGstRcxReg != UINT8_MAX, UINT32_MAX); 4574 off = iemNativeEmitTestAnyBitsInGprAndJmpToLabelIfNoneSet(pReNative, off, idxGstRcxReg, UINT16_MAX, pEntry->idxLabelElse); 4575 iemNativeRegFreeTmp(pReNative, idxGstRcxReg); 4576 4577 iemNativeCondStartIfBlock(pReNative, off); 4578 return off; 4579 } 4580 4581 4558 4582 4559 4583 /*********************************************************************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.