[llvm] [X86][MC] Support encoding of EGPR for APX (PR #71909)
Shengchen Kan via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 12 20:58:22 PST 2023
================
@@ -1067,7 +1143,7 @@ X86MCCodeEmitter::emitVEXOpcodePrefix(int MemOperand, const MCInst &MI,
if (HasVEX_4V)
Prefix.set4VV2(MI, CurOp++);
- Prefix.setB(MI, CurOp);
+ Prefix.setBB2(MI, CurOp);
Prefix.setX(MI, CurOp, 4);
----------------
KanRobert wrote:
When the shift 4, X is used to extend vector register. X2 is only for GPR. It's explained at table at line 124
https://github.com/llvm/llvm-project/pull/71909
More information about the llvm-commits
mailing list