[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 19:32:21 PST 2023
================
@@ -754,7 +783,7 @@ static int readModRM(struct InternalInstruction *insn) {
return base + index; \
case TYPE_R8: \
index &= mask; \
- if (index > 0xf) \
+ if (index > MAX_GPR_NUM) \
*valid = 0; \
----------------
phoebewang wrote:
I think we can remove the code now since there's no difference between fixupRegValue and fixupRMValue
https://github.com/llvm/llvm-project/pull/72102
More information about the llvm-commits
mailing list