[llvm] [X86][MC] Support Enc/Dec for NF for promoted BMI instructions in 73899 (PR #76709)
Shengchen Kan via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 2 23:47:47 PST 2024
================
@@ -1171,7 +1186,7 @@ static int getInstructionID(struct InternalInstruction *insn,
attrMask |= ATTR_EVEXB;
// nf bit is the MSB of aaa
if (nfFromEVEX4of4(insn->vectorExtensionPrefix[3]) &&
- insn->opcodeType == MAP4)
+ (insn->opcodeType == MAP4 || isNFnotMap4(insn)))
----------------
KanRobert wrote:
+1 for this suggestion.
https://github.com/llvm/llvm-project/pull/76709
More information about the llvm-commits
mailing list