[llvm] [X86] Support APX CMOV/CFCMOV instructions (PR #82592)

Shengchen Kan via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 12 20:30:41 PDT 2024


================
@@ -20,6 +26,16 @@
 # CHECK: encoding: [0x62,0xec,0xec,0x10,0x2b,0x48,0x7b]
          subq	123(%r16), %r17, %r18
 
+## MRMSrcMemCC
+
+# CHECK: cfcmovbq	123(%r8,%rax,4), %r9
+# CHECK: encoding: [0x62,0x54,0xfc,0x08,0x42,0x4c,0x80,0x7b]
+         cfcmovbq	123(%r8,%rax,4), %r9
+
+# CHECK: cfcmovbq	123(%r8,%rax,4), %r9, %r15
+# CHECK: encoding: [0x62,0x54,0x84,0x1c,0x42,0x4c,0x80,0x7b]
+         cfcmovbq	123(%r8,%rax,4), %r9, %r15
+
 ## MRM0m
----------------
KanRobert wrote:

Missing MRMDestRegCC?

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


More information about the llvm-commits mailing list