[llvm] [X86][MC] Support Enc/Dec for NF BMI instructions (PR #76709)

Shengchen Kan via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 10 22:23:36 PST 2024


================
@@ -1309,6 +1318,13 @@ let Predicates = [HasBMI2, HasEGPR, In64BitMode], Defs = [EFLAGS] in {
   defm BZHI64 : Bmi4VOp3<0xF5, "bzhi", Xi64, X86bzhi, WriteBZHI, "_EVEX">, EVEX;
 }
 
+let Predicates = [In64BitMode] in {
+  defm BEXTR32 : Bmi4VOp3<0xF7, "bextr", Xi32, null_frag, WriteBEXTR, "_NF">, EVEX, EVEX_NF;
+  defm BEXTR64 : Bmi4VOp3<0xF7, "bextr", Xi64, null_frag, WriteBEXTR, "_NF">, EVEX, EVEX_NF;
----------------
KanRobert wrote:

Does it need `NoCD8`?

https://github.com/llvm/llvm-project/pull/76709


More information about the llvm-commits mailing list