[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / X86 / LWP-32.s
blobd91d16cc95f5d2938e53d4f50e8603ad56d36bd1
1 // RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
3 // CHECK: llwpcb %eax
4 // CHECK: encoding: [0x8f,0xe9,0x78,0x12,0xc0]
5 llwpcb %eax
7 // CHECK: lwpins $0, -485498096(%edx,%eax,4), %edx
8 // CHECK: encoding: [0x8f,0xea,0x68,0x12,0x84,0x82,0x10,0xe3,0x0f,0xe3,0x00,0x00,0x00,0x00]
9 lwpins $0, -485498096(%edx,%eax,4), %edx
11 // CHECK: lwpins $0, 485498096(%edx,%eax,4), %edx
12 // CHECK: encoding: [0x8f,0xea,0x68,0x12,0x84,0x82,0xf0,0x1c,0xf0,0x1c,0x00,0x00,0x00,0x00]
13 lwpins $0, 485498096(%edx,%eax,4), %edx
15 // CHECK: lwpins $0, 485498096(%edx), %edx
16 // CHECK: encoding: [0x8f,0xea,0x68,0x12,0x82,0xf0,0x1c,0xf0,0x1c,0x00,0x00,0x00,0x00]
17 lwpins $0, 485498096(%edx), %edx
19 // CHECK: lwpins $0, 485498096, %edx
20 // CHECK: encoding: [0x8f,0xea,0x68,0x12,0x05,0xf0,0x1c,0xf0,0x1c,0x00,0x00,0x00,0x00]
21 lwpins $0, 485498096, %edx
23 // CHECK: lwpins $0, 64(%edx,%eax), %edx
24 // CHECK: encoding: [0x8f,0xea,0x68,0x12,0x44,0x02,0x40,0x00,0x00,0x00,0x00]
25 lwpins $0, 64(%edx,%eax), %edx
27 // CHECK: lwpins $0, %eax, %edx
28 // CHECK: encoding: [0x8f,0xea,0x68,0x12,0xc0,0x00,0x00,0x00,0x00]
29 lwpins $0, %eax, %edx
31 // CHECK: lwpins $0, (%edx), %edx
32 // CHECK: encoding: [0x8f,0xea,0x68,0x12,0x02,0x00,0x00,0x00,0x00]
33 lwpins $0, (%edx), %edx
35 // CHECK: lwpval $0, -485498096(%edx,%eax,4), %edx
36 // CHECK: encoding: [0x8f,0xea,0x68,0x12,0x8c,0x82,0x10,0xe3,0x0f,0xe3,0x00,0x00,0x00,0x00]
37 lwpval $0, -485498096(%edx,%eax,4), %edx
39 // CHECK: lwpval $0, 485498096(%edx,%eax,4), %edx
40 // CHECK: encoding: [0x8f,0xea,0x68,0x12,0x8c,0x82,0xf0,0x1c,0xf0,0x1c,0x00,0x00,0x00,0x00]
41 lwpval $0, 485498096(%edx,%eax,4), %edx
43 // CHECK: lwpval $0, 485498096(%edx), %edx
44 // CHECK: encoding: [0x8f,0xea,0x68,0x12,0x8a,0xf0,0x1c,0xf0,0x1c,0x00,0x00,0x00,0x00]
45 lwpval $0, 485498096(%edx), %edx
47 // CHECK: lwpval $0, 485498096, %edx
48 // CHECK: encoding: [0x8f,0xea,0x68,0x12,0x0d,0xf0,0x1c,0xf0,0x1c,0x00,0x00,0x00,0x00]
49 lwpval $0, 485498096, %edx
51 // CHECK: lwpval $0, 64(%edx,%eax), %edx
52 // CHECK: encoding: [0x8f,0xea,0x68,0x12,0x4c,0x02,0x40,0x00,0x00,0x00,0x00]
53 lwpval $0, 64(%edx,%eax), %edx
55 // CHECK: lwpval $0, %eax, %edx
56 // CHECK: encoding: [0x8f,0xea,0x68,0x12,0xc8,0x00,0x00,0x00,0x00]
57 lwpval $0, %eax, %edx
59 // CHECK: lwpval $0, (%edx), %edx
60 // CHECK: encoding: [0x8f,0xea,0x68,0x12,0x0a,0x00,0x00,0x00,0x00]
61 lwpval $0, (%edx), %edx
63 // CHECK: slwpcb %eax
64 // CHECK: encoding: [0x8f,0xe9,0x78,0x12,0xc8]
65 slwpcb %eax