Changeset 100231 in vbox for trunk/src/VBox/VMM/include/IEMInternal.h
- Timestamp:
- Jun 20, 2023 11:10:27 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/IEMInternal.h
r100222 r100231 3835 3835 */ 3836 3836 #define IEM_GET_MODRM_RM_8(a_bRm) ( ((a_bRm) & X86_MODRM_RM_MASK) ) 3837 3838 /** 3839 * Gets the register (reg) part of a ModR/M encoding as an extended 8-bit 3840 * register index, with REX.R added in. 3841 * 3842 * For use during decoding. 3843 * 3844 * @see iemGRegRefU8Ex, iemGRegFetchU8Ex, iemGRegStoreU8Ex 3845 */ 3846 #define IEM_GET_MODRM_REG_EX8(a_pVCpu, a_bRm) \ 3847 ( (pVCpu->iem.s.fPrefixes & IEM_OP_PRF_REX) \ 3848 || !((a_bRm) & (4 << X86_MODRM_REG_SHIFT)) /* IEM_GET_MODRM_REG(pVCpu, a_bRm) < 4 */ \ 3849 ? IEM_GET_MODRM_REG(pVCpu, a_bRm) : (((a_bRm) >> X86_MODRM_REG_SHIFT) & 3) | 16) 3850 /** 3851 * Gets the r/m part of a ModR/M encoding as an extended 8-bit register index, 3852 * with REX.B added in. 3853 * 3854 * For use during decoding. 3855 * 3856 * @see iemGRegRefU8Ex, iemGRegFetchU8Ex, iemGRegStoreU8Ex 3857 */ 3858 #define IEM_GET_MODRM_RM_EX8(a_pVCpu, a_bRm) \ 3859 ( (pVCpu->iem.s.fPrefixes & IEM_OP_PRF_REX) \ 3860 || !((a_bRm) & 4) /* IEM_GET_MODRM_RM(pVCpu, a_bRm) < 4 */ \ 3861 ? IEM_GET_MODRM_RM(pVCpu, a_bRm) : ((a_bRm) & 3) | 16) 3837 3862 3838 3863 /**
Note:
See TracChangeset
for help on using the changeset viewer.