Changeset 104359 in vbox for trunk/src/VBox/VMM/include
- Timestamp:
- Apr 18, 2024 6:27:36 AM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/IEMN8veRecompilerEmit.h
r104357 r104359 1122 1122 { 1123 1123 /* Use the unsigned variant of ldr Wt, [<Xn|SP>, #off]. */ 1124 pCodeBuf[off++] = Armv8A64MkInstrStLdRUOff(kArmv8A64InstrLdStType_Ld_ Dword, idxTmp1,1124 pCodeBuf[off++] = Armv8A64MkInstrStLdRUOff(kArmv8A64InstrLdStType_Ld_Word, idxTmp1, 1125 1125 IEMNATIVE_REG_FIXED_PVMCPU, offVCpu / cbData); 1126 1126 pCodeBuf[off++] = Armv8A64MkInstrAddUImm12(idxTmp1, idxTmp1, 1); 1127 pCodeBuf[off++] = Armv8A64MkInstrStLdRUOff(kArmv8A64InstrLdStType_St_ Dword, idxTmp1,1127 pCodeBuf[off++] = Armv8A64MkInstrStLdRUOff(kArmv8A64InstrLdStType_St_Word, idxTmp1, 1128 1128 IEMNATIVE_REG_FIXED_PVMCPU, offVCpu / cbData); 1129 1129 } 1130 1130 else if (offVCpu - RT_UOFFSETOF(VMCPU, cpum.GstCtx) < (unsigned)(_4K * cbData)) 1131 1131 { 1132 pCodeBuf[off++] = Armv8A64MkInstrStLdRUOff(kArmv8A64InstrLdStType_Ld_ Dword, idxTmp1, IEMNATIVE_REG_FIXED_PCPUMCTX,1132 pCodeBuf[off++] = Armv8A64MkInstrStLdRUOff(kArmv8A64InstrLdStType_Ld_Word, idxTmp1, IEMNATIVE_REG_FIXED_PCPUMCTX, 1133 1133 (offVCpu - RT_UOFFSETOF(VMCPU, cpum.GstCtx)) / cbData); 1134 1134 pCodeBuf[off++] = Armv8A64MkInstrAddUImm12(idxTmp1, idxTmp1, 1); 1135 pCodeBuf[off++] = Armv8A64MkInstrStLdRUOff(kArmv8A64InstrLdStType_St_ Dword, idxTmp1, IEMNATIVE_REG_FIXED_PCPUMCTX,1135 pCodeBuf[off++] = Armv8A64MkInstrStLdRUOff(kArmv8A64InstrLdStType_St_Word, idxTmp1, IEMNATIVE_REG_FIXED_PCPUMCTX, 1136 1136 (offVCpu - RT_UOFFSETOF(VMCPU, cpum.GstCtx)) / cbData); 1137 1137 }
Note:
See TracChangeset
for help on using the changeset viewer.