[llvm] [X86][MC] Support Enc/Dec for NF for promoted BMI instructions in 73899 (PR #76709)
Phoebe Wang via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 3 00:46:30 PST 2024
================
@@ -1134,6 +1134,21 @@ static int getInstructionIDWithAttrMask(uint16_t *instructionID,
return 0;
}
+static bool isNFnotMap4(InternalInstruction *insn) {
+ // Promoted BMI instrs below has nf version.
+ if (insn->opcodeType == THREEBYTE_38 &&
+ ppFromEVEX3of4(insn->vectorExtensionPrefix[2]) == VEX_PREFIX_NONE) {
----------------
phoebewang wrote:
Missing check for `nfFromEVEX4of4(insn->vectorExtensionPrefix[3])`
https://github.com/llvm/llvm-project/pull/76709
More information about the llvm-commits
mailing list