diff options
author | Jessica Clarke <jrtc27@jrtc27.com> | 2021-10-23 01:55:56 +0100 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2021-12-21 16:48:02 -0800 |
commit | c95753ff5c116134a5ff8029cf2c35c8b760a027 (patch) | |
tree | 402982de8a0a722dd91c2ed2583f461ee4ee10b8 | |
parent | d9f927f2cfe8d96cf68c71589d69e777b373ae73 (diff) | |
download | llvm-c95753ff5c116134a5ff8029cf2c35c8b760a027.tar.gz |
[NFC][X86] Add MC tests for all untested VIA PadLock instructions
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.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D112354
(cherry picked from commit b432583d28ee99313fa834139be9535639957d76)
-rw-r--r-- | llvm/test/MC/X86/padlock.s | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/llvm/test/MC/X86/padlock.s b/llvm/test/MC/X86/padlock.s index f652bcf5473b..c79d346fa23e 100644 --- a/llvm/test/MC/X86/padlock.s +++ b/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] |