[llvm] [X86][MC] Not emit {evex} for VEX-promoted instructions with GPR operands (PR #74039)
Shengchen Kan via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 1 00:08:45 PST 2023
================
@@ -3,6 +3,21 @@
# ERROR-COUNT-20: error:
# ERROR-NOT: error:
+# CHECK: {evex} kmovb %k1, %k2
+# CHECK: encoding: [0x62,0xf1,0x7d,0x08,0x90,0xd1]
+ {evex} kmovb %k1, %k2
+# CHECK: {evex} kmovw %k1, %k2
+# CHECK: encoding: [0x62,0xf1,0x7c,0x08,0x90,0xd1]
+ {evex} kmovw %k1, %k2
+# CHECK: {evex} kmovd %k1, %k2
+# CHECK: encoding: [0x62,0xf1,0xfd,0x08,0x90,0xd1]
+ {evex} kmovd %k1, %k2
+# CHECK: {evex} kmovq %k1, %k2
+
+# CHECK-NOT: {evex}
----------------
KanRobert wrote:
Done.
https://github.com/llvm/llvm-project/pull/74039
More information about the llvm-commits
mailing list