mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
98d9000b4b
NFC. Adding MC regressions tests to cover several small x86 extensions as follows: CLWB, CLZERO, F16C, INVPCID, PKU, POPCNT, RTM, SGX, SHA, SVM, VMFUNC, VTX This patch is part of a larger task to cover MC encoding of all X86 isa sets started in revision: https://reviews.llvm.org/D39952 Reviewers: RKSimon, craig.topper, zvi, AndreiGrischenko Differential Revision: https://reviews.llvm.org/D41388 Change-Id: I254508cd17faca00b780be0fc2abf6c71b61faab llvm-svn: 324595
27 lines
732 B
ArmAsm
27 lines
732 B
ArmAsm
// RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s
|
|
|
|
// CHECK: clwb 485498096
|
|
// CHECK: encoding: [0x66,0x0f,0xae,0x34,0x25,0xf0,0x1c,0xf0,0x1c]
|
|
clwb 485498096
|
|
|
|
// CHECK: clwb 64(%rdx)
|
|
// CHECK: encoding: [0x66,0x0f,0xae,0x72,0x40]
|
|
clwb 64(%rdx)
|
|
|
|
// CHECK: clwb 64(%rdx,%rax,4)
|
|
// CHECK: encoding: [0x66,0x0f,0xae,0x74,0x82,0x40]
|
|
clwb 64(%rdx,%rax,4)
|
|
|
|
// CHECK: clwb -64(%rdx,%rax,4)
|
|
// CHECK: encoding: [0x66,0x0f,0xae,0x74,0x82,0xc0]
|
|
clwb -64(%rdx,%rax,4)
|
|
|
|
// CHECK: clwb 64(%rdx,%rax)
|
|
// CHECK: encoding: [0x66,0x0f,0xae,0x74,0x02,0x40]
|
|
clwb 64(%rdx,%rax)
|
|
|
|
// CHECK: clwb (%rdx)
|
|
// CHECK: encoding: [0x66,0x0f,0xae,0x32]
|
|
clwb (%rdx)
|
|
|