mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
844d9ba862
Adding MC regressions tests to cover the XOP isa set. 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 Differential Revision: https://reviews.llvm.org/D41392 llvm-svn: 350237
66 lines
2.4 KiB
ArmAsm
66 lines
2.4 KiB
ArmAsm
// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
|
|
|
|
// CHECK: llwpcb %eax
|
|
// CHECK: encoding: [0x8f,0xe9,0x78,0x12,0xc0]
|
|
llwpcb %eax
|
|
|
|
// CHECK: lwpins $0, -485498096(%edx,%eax,4), %edx
|
|
// CHECK: encoding: [0x8f,0xea,0x68,0x12,0x84,0x82,0x10,0xe3,0x0f,0xe3,0x00,0x00,0x00,0x00]
|
|
lwpins $0, -485498096(%edx,%eax,4), %edx
|
|
|
|
// CHECK: lwpins $0, 485498096(%edx,%eax,4), %edx
|
|
// CHECK: encoding: [0x8f,0xea,0x68,0x12,0x84,0x82,0xf0,0x1c,0xf0,0x1c,0x00,0x00,0x00,0x00]
|
|
lwpins $0, 485498096(%edx,%eax,4), %edx
|
|
|
|
// CHECK: lwpins $0, 485498096(%edx), %edx
|
|
// CHECK: encoding: [0x8f,0xea,0x68,0x12,0x82,0xf0,0x1c,0xf0,0x1c,0x00,0x00,0x00,0x00]
|
|
lwpins $0, 485498096(%edx), %edx
|
|
|
|
// CHECK: lwpins $0, 485498096, %edx
|
|
// CHECK: encoding: [0x8f,0xea,0x68,0x12,0x05,0xf0,0x1c,0xf0,0x1c,0x00,0x00,0x00,0x00]
|
|
lwpins $0, 485498096, %edx
|
|
|
|
// CHECK: lwpins $0, 64(%edx,%eax), %edx
|
|
// CHECK: encoding: [0x8f,0xea,0x68,0x12,0x44,0x02,0x40,0x00,0x00,0x00,0x00]
|
|
lwpins $0, 64(%edx,%eax), %edx
|
|
|
|
// CHECK: lwpins $0, %eax, %edx
|
|
// CHECK: encoding: [0x8f,0xea,0x68,0x12,0xc0,0x00,0x00,0x00,0x00]
|
|
lwpins $0, %eax, %edx
|
|
|
|
// CHECK: lwpins $0, (%edx), %edx
|
|
// CHECK: encoding: [0x8f,0xea,0x68,0x12,0x02,0x00,0x00,0x00,0x00]
|
|
lwpins $0, (%edx), %edx
|
|
|
|
// CHECK: lwpval $0, -485498096(%edx,%eax,4), %edx
|
|
// CHECK: encoding: [0x8f,0xea,0x68,0x12,0x8c,0x82,0x10,0xe3,0x0f,0xe3,0x00,0x00,0x00,0x00]
|
|
lwpval $0, -485498096(%edx,%eax,4), %edx
|
|
|
|
// CHECK: lwpval $0, 485498096(%edx,%eax,4), %edx
|
|
// CHECK: encoding: [0x8f,0xea,0x68,0x12,0x8c,0x82,0xf0,0x1c,0xf0,0x1c,0x00,0x00,0x00,0x00]
|
|
lwpval $0, 485498096(%edx,%eax,4), %edx
|
|
|
|
// CHECK: lwpval $0, 485498096(%edx), %edx
|
|
// CHECK: encoding: [0x8f,0xea,0x68,0x12,0x8a,0xf0,0x1c,0xf0,0x1c,0x00,0x00,0x00,0x00]
|
|
lwpval $0, 485498096(%edx), %edx
|
|
|
|
// CHECK: lwpval $0, 485498096, %edx
|
|
// CHECK: encoding: [0x8f,0xea,0x68,0x12,0x0d,0xf0,0x1c,0xf0,0x1c,0x00,0x00,0x00,0x00]
|
|
lwpval $0, 485498096, %edx
|
|
|
|
// CHECK: lwpval $0, 64(%edx,%eax), %edx
|
|
// CHECK: encoding: [0x8f,0xea,0x68,0x12,0x4c,0x02,0x40,0x00,0x00,0x00,0x00]
|
|
lwpval $0, 64(%edx,%eax), %edx
|
|
|
|
// CHECK: lwpval $0, %eax, %edx
|
|
// CHECK: encoding: [0x8f,0xea,0x68,0x12,0xc8,0x00,0x00,0x00,0x00]
|
|
lwpval $0, %eax, %edx
|
|
|
|
// CHECK: lwpval $0, (%edx), %edx
|
|
// CHECK: encoding: [0x8f,0xea,0x68,0x12,0x0a,0x00,0x00,0x00,0x00]
|
|
lwpval $0, (%edx), %edx
|
|
|
|
// CHECK: slwpcb %eax
|
|
// CHECK: encoding: [0x8f,0xe9,0x78,0x12,0xc8]
|
|
slwpcb %eax
|