[llvm] [X86][MC] Support Enc/Dec for EGPR for promoted SHA instruction (PR #75582)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 17 23:11:23 PST 2023
================
@@ -0,0 +1,9 @@
+# RUN: llvm-mc -triple x86_64 --show-encoding %s | FileCheck %s
+
+# CHECK: sha256rnds2 %xmm0, %xmm13, %xmm12
+# CHECK: encoding: [0x45,0x0f,0x38,0xcb,0xe5]
+ sha256rnds2 %xmm0, %xmm13, %xmm12
+
+# CHECK: sha256rnds2 %xmm0, 291(%r28,%r29,4), %xmm12
+# CHECK: encoding: [0x62,0x1c,0x78,0x08,0xdb,0xa4,0xac,0x23,0x01,0x00,0x00]
+ sha256rnds2 %xmm0, 291(%r28,%r29,4), %xmm12
----------------
XinWang10 wrote:
Done
https://github.com/llvm/llvm-project/pull/75582
More information about the llvm-commits
mailing list