[PATCH] D112354: [NFC][X86] Add MC tests for all untested VIA PadLock instructions
Jessica Clarke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 22 17:16:56 PDT 2021
jrtc27 created this revision.
jrtc27 added a reviewer: craig.topper.
jrtc27 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
We currently only test the encoding of xstore but none of the other
instructions, which should all have their implicit REP prefix be
verified as working.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D112354
Files:
llvm/test/MC/X86/padlock.s
Index: llvm/test/MC/X86/padlock.s
===================================================================
--- llvm/test/MC/X86/padlock.s
+++ llvm/test/MC/X86/padlock.s
@@ -3,3 +3,27 @@
xstore
// CHECK: xstore
// CHECK: encoding: [0xf3,0x0f,0xa7,0xc0]
+ xcryptecb
+// CHECK: xcryptecb
+// CHECK: encoding: [0xf3,0x0f,0xa7,0xc8]
+ xcryptcbc
+// CHECK: xcryptcbc
+// CHECK: encoding: [0xf3,0x0f,0xa7,0xd0]
+ xcryptctr
+// CHECK: xcryptctr
+// CHECK: encoding: [0xf3,0x0f,0xa7,0xd8]
+ xcryptcfb
+// CHECK: xcryptcfb
+// CHECK: encoding: [0xf3,0x0f,0xa7,0xe0]
+ xcryptofb
+// CHECK: xcryptofb
+// CHECK: encoding: [0xf3,0x0f,0xa7,0xe8]
+ xsha1
+// CHECK: xsha1
+// CHECK: encoding: [0xf3,0x0f,0xa6,0xc8]
+ xsha256
+// CHECK: xsha256
+// CHECK: encoding: [0xf3,0x0f,0xa6,0xd0]
+ montmul
+// CHECK: montmul
+// CHECK: encoding: [0xf3,0x0f,0xa6,0xc0]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112354.381685.patch
Type: text/x-patch
Size: 843 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211023/dede8057/attachment.bin>
More information about the llvm-commits
mailing list