[llvm] [X86][MC] Support decoding of EGPR for APX (PR #72102)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 14 07:52:43 PST 2023


================
@@ -825,7 +854,7 @@ static int readModRM(struct InternalInstruction *insn) {
 //                field is valid for the register class; 0 if not.
 // @return      - The proper value.
 GENERIC_FIXUP_FUNC(fixupRegValue, insn->regBase, MODRM_REG, 0x1f)
-GENERIC_FIXUP_FUNC(fixupRMValue, insn->eaRegBase, EA_REG, 0xf)
+GENERIC_FIXUP_FUNC(fixupRMValue, insn->eaRegBase, EA_REG, 0x1f)
----------------
phoebewang wrote:

MAX_GPR_NUM

https://github.com/llvm/llvm-project/pull/72102


More information about the llvm-commits mailing list