Changeset 101850 in vbox for trunk/src/VBox/VMM/include/IEMMc.h
- Timestamp:
- Nov 6, 2023 10:13:31 AM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/IEMMc.h
r101587 r101850 264 264 #define IEM_MC_STORE_GREG_U64_CONST IEM_MC_STORE_GREG_U64 265 265 #define IEM_MC_CLEAR_HIGH_GREG_U64(a_iGReg) *iemGRegRefU64(pVCpu, (a_iGReg)) &= UINT32_MAX 266 #define IEM_MC_CLEAR_HIGH_GREG_U64_BY_REF(a_pu32Dst) do { (a_pu32Dst)[1] = 0; } while (0)267 266 /** @todo IEM_MC_STORE_SREG_BASE_U64 & IEM_MC_STORE_SREG_BASE_U32 aren't worth it... */ 268 267 #define IEM_MC_STORE_SREG_BASE_U64(a_iSReg, a_u64Value) do { \ … … 283 282 #define IEM_MC_REF_GREG_U16_CONST(a_pu16Dst, a_iGReg) (a_pu16Dst) = (uint16_t const *)iemGRegRefU16(pVCpu, (a_iGReg)) 284 283 /** @todo User of IEM_MC_REF_GREG_U32 needs to clear the high bits on commit. 285 * Use IEM_MC_CLEAR_HIGH_GREG_U64 _BY_REF! */284 * Use IEM_MC_CLEAR_HIGH_GREG_U64! */ 286 285 #define IEM_MC_REF_GREG_U32(a_pu32Dst, a_iGReg) (a_pu32Dst) = iemGRegRefU32(pVCpu, (a_iGReg)) 287 286 #define IEM_MC_REF_GREG_U32_CONST(a_pu32Dst, a_iGReg) (a_pu32Dst) = (uint32_t const *)iemGRegRefU32(pVCpu, (a_iGReg))
Note:
See TracChangeset
for help on using the changeset viewer.