[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 22:13:06 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 &&
+ ppFromXOP3of3(insn->vectorExtensionPrefix[2]) == VEX_PREFIX_NONE) {
----------------
KanRobert wrote:
I don't understand. Why do you call function `ppFromXOP3of3` for NF instructions? I remember intel does not support `XOP`.
https://github.com/llvm/llvm-project/pull/76709
More information about the llvm-commits
mailing list