Changeset 102079 in vbox for trunk/src/VBox/VMM/VMMAll/IEMAllN8veRecompiler.cpp
- Timestamp:
- Nov 13, 2023 12:03:15 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllN8veRecompiler.cpp
r102078 r102079 6748 6748 off = iemNativeEmitRefGregU8(pReNative, off, a_pu8Dst, a_iGRegEx, true /*fConst*/) 6749 6749 6750 /** Handles IEM_MC_REF_GREG_U8[_CONST]. */ 6751 DECL_INLINE_THROW(uint32_t) 6752 iemNativeEmitRefGregU8(PIEMRECOMPILERSTATE pReNative, uint32_t off, uint8_t idxVarRef, uint8_t iGRegEx, bool fConst) 6753 { 6754 IEMNATIVE_ASSERT_VAR_IDX(pReNative, idxVarRef); 6755 Assert(pReNative->Core.aVars[idxVarRef].cbVar == sizeof(void *)); 6756 Assert(iGRegEx < 20); 6757 6758 if (iGRegEx < 16) 6759 iemNativeVarSetKindToGstRegRef(pReNative, idxVarRef, kIemNativeGstRegRef_Gpr, iGRegEx & 15); 6760 else 6761 iemNativeVarSetKindToGstRegRef(pReNative, idxVarRef, kIemNativeGstRegRef_GprHighByte, iGRegEx & 15); 6762 6763 /* If we've delayed writing back the register value, flush it now. */ 6764 off = iemNativeRegFlushPendingSpecificWrite(pReNative, off, kIemNativeGstRegRef_Gpr, iGRegEx & 15); 6765 6766 /* If it's not a const reference we need to flush the shadow copy of the register now. */ 6767 if (!fConst) 6768 iemNativeRegFlushGuestShadows(pReNative, RT_BIT_64(IEMNATIVEGSTREG_GPR(iGRegEx & 15))); 6769 6770 return off; 6771 } 6750 6772 6751 6773 #define IEM_MC_REF_GREG_U16(a_pu16Dst, a_iGReg) \
Note:
See TracChangeset
for help on using the changeset viewer.