1 // RUN
: llvm-mc
-triple x86_64-unknown-unknown
--show-encoding
%s | FileCheck
%s
4 // CHECK
: encoding
: [0x8f,0xc9,0x78,0x12,0xc5]
8 // CHECK
: encoding
: [0x8f,0xc9,0xf8,0x12,0xc5]
11 // CHECK
: lwpins $
0, 485498096, %r15d
12 // CHECK
: encoding
: [0x8f,0xea,0x00,0x12,0x04,0x25,0xf0,0x1c,0xf0,0x1c,0x00,0x00,0x00,0x00]
13 lwpins $
0, 485498096, %r15d
15 // CHECK
: lwpins $
0, 485498096, %r15
16 // CHECK
: encoding
: [0x8f,0xea,0x80,0x12,0x04,0x25,0xf0,0x1c,0xf0,0x1c,0x00,0x00,0x00,0x00]
17 lwpins $
0, 485498096, %r15
19 // CHECK
: lwpins $
0, 64(%rdx
), %r15d
20 // CHECK
: encoding
: [0x8f,0xea,0x00,0x12,0x42,0x40,0x00,0x00,0x00,0x00]
21 lwpins $
0, 64(%rdx
), %r15d
23 // CHECK
: lwpins $
0, 64(%rdx
), %r15
24 // CHECK
: encoding
: [0x8f,0xea,0x80,0x12,0x42,0x40,0x00,0x00,0x00,0x00]
25 lwpins $
0, 64(%rdx
), %r15
27 // CHECK
: lwpins $
0, 64(%rdx
,%rax
,4), %r15d
28 // CHECK
: encoding
: [0x8f,0xea,0x00,0x12,0x44,0x82,0x40,0x00,0x00,0x00,0x00]
29 lwpins $
0, 64(%rdx
,%rax
,4), %r15d
31 // CHECK
: lwpins $
0, 64(%rdx
,%rax
,4), %r15
32 // CHECK
: encoding
: [0x8f,0xea,0x80,0x12,0x44,0x82,0x40,0x00,0x00,0x00,0x00]
33 lwpins $
0, 64(%rdx
,%rax
,4), %r15
35 // CHECK
: lwpins $
0, -64(%rdx
,%rax
,4), %r15d
36 // CHECK
: encoding
: [0x8f,0xea,0x00,0x12,0x44,0x82,0xc0,0x00,0x00,0x00,0x00]
37 lwpins $
0, -64(%rdx
,%rax
,4), %r15d
39 // CHECK
: lwpins $
0, -64(%rdx
,%rax
,4), %r15
40 // CHECK
: encoding
: [0x8f,0xea,0x80,0x12,0x44,0x82,0xc0,0x00,0x00,0x00,0x00]
41 lwpins $
0, -64(%rdx
,%rax
,4), %r15
43 // CHECK
: lwpins $
0, 64(%rdx
,%rax
), %r15d
44 // CHECK
: encoding
: [0x8f,0xea,0x00,0x12,0x44,0x02,0x40,0x00,0x00,0x00,0x00]
45 lwpins $
0, 64(%rdx
,%rax
), %r15d
47 // CHECK
: lwpins $
0, 64(%rdx
,%rax
), %r15
48 // CHECK
: encoding
: [0x8f,0xea,0x80,0x12,0x44,0x02,0x40,0x00,0x00,0x00,0x00]
49 lwpins $
0, 64(%rdx
,%rax
), %r15
51 // CHECK
: lwpins $
0, %r13d
, %r15d
52 // CHECK
: encoding
: [0x8f,0xca,0x00,0x12,0xc5,0x00,0x00,0x00,0x00]
53 lwpins $
0, %r13d
, %r15d
55 // CHECK
: lwpins $
0, %r13d
, %r15
56 // CHECK
: encoding
: [0x8f,0xca,0x80,0x12,0xc5,0x00,0x00,0x00,0x00]
57 lwpins $
0, %r13d
, %r15
59 // CHECK
: lwpins $
0, (%rdx
), %r15d
60 // CHECK
: encoding
: [0x8f,0xea,0x00,0x12,0x02,0x00,0x00,0x00,0x00]
61 lwpins $
0, (%rdx
), %r15d
63 // CHECK
: lwpins $
0, (%rdx
), %r15
64 // CHECK
: encoding
: [0x8f,0xea,0x80,0x12,0x02,0x00,0x00,0x00,0x00]
65 lwpins $
0, (%rdx
), %r15
67 // CHECK
: lwpval $
0, 485498096, %r15d
68 // CHECK
: encoding
: [0x8f,0xea,0x00,0x12,0x0c,0x25,0xf0,0x1c,0xf0,0x1c,0x00,0x00,0x00,0x00]
69 lwpval $
0, 485498096, %r15d
71 // CHECK
: lwpval $
0, 485498096, %r15
72 // CHECK
: encoding
: [0x8f,0xea,0x80,0x12,0x0c,0x25,0xf0,0x1c,0xf0,0x1c,0x00,0x00,0x00,0x00]
73 lwpval $
0, 485498096, %r15
75 // CHECK
: lwpval $
0, 64(%rdx
), %r15d
76 // CHECK
: encoding
: [0x8f,0xea,0x00,0x12,0x4a,0x40,0x00,0x00,0x00,0x00]
77 lwpval $
0, 64(%rdx
), %r15d
79 // CHECK
: lwpval $
0, 64(%rdx
), %r15
80 // CHECK
: encoding
: [0x8f,0xea,0x80,0x12,0x4a,0x40,0x00,0x00,0x00,0x00]
81 lwpval $
0, 64(%rdx
), %r15
83 // CHECK
: lwpval $
0, 64(%rdx
,%rax
,4), %r15d
84 // CHECK
: encoding
: [0x8f,0xea,0x00,0x12,0x4c,0x82,0x40,0x00,0x00,0x00,0x00]
85 lwpval $
0, 64(%rdx
,%rax
,4), %r15d
87 // CHECK
: lwpval $
0, 64(%rdx
,%rax
,4), %r15
88 // CHECK
: encoding
: [0x8f,0xea,0x80,0x12,0x4c,0x82,0x40,0x00,0x00,0x00,0x00]
89 lwpval $
0, 64(%rdx
,%rax
,4), %r15
91 // CHECK
: lwpval $
0, -64(%rdx
,%rax
,4), %r15d
92 // CHECK
: encoding
: [0x8f,0xea,0x00,0x12,0x4c,0x82,0xc0,0x00,0x00,0x00,0x00]
93 lwpval $
0, -64(%rdx
,%rax
,4), %r15d
95 // CHECK
: lwpval $
0, -64(%rdx
,%rax
,4), %r15
96 // CHECK
: encoding
: [0x8f,0xea,0x80,0x12,0x4c,0x82,0xc0,0x00,0x00,0x00,0x00]
97 lwpval $
0, -64(%rdx
,%rax
,4), %r15
99 // CHECK
: lwpval $
0, 64(%rdx
,%rax
), %r15d
100 // CHECK
: encoding
: [0x8f,0xea,0x00,0x12,0x4c,0x02,0x40,0x00,0x00,0x00,0x00]
101 lwpval $
0, 64(%rdx
,%rax
), %r15d
103 // CHECK
: lwpval $
0, 64(%rdx
,%rax
), %r15
104 // CHECK
: encoding
: [0x8f,0xea,0x80,0x12,0x4c,0x02,0x40,0x00,0x00,0x00,0x00]
105 lwpval $
0, 64(%rdx
,%rax
), %r15
107 // CHECK
: lwpval $
0, %r13d
, %r15d
108 // CHECK
: encoding
: [0x8f,0xca,0x00,0x12,0xcd,0x00,0x00,0x00,0x00]
109 lwpval $
0, %r13d
, %r15d
111 // CHECK
: lwpval $
0, %r13d
, %r15
112 // CHECK
: encoding
: [0x8f,0xca,0x80,0x12,0xcd,0x00,0x00,0x00,0x00]
113 lwpval $
0, %r13d
, %r15
115 // CHECK
: lwpval $
0, (%rdx
), %r15d
116 // CHECK
: encoding
: [0x8f,0xea,0x00,0x12,0x0a,0x00,0x00,0x00,0x00]
117 lwpval $
0, (%rdx
), %r15d
119 // CHECK
: lwpval $
0, (%rdx
), %r15
120 // CHECK
: encoding
: [0x8f,0xea,0x80,0x12,0x0a,0x00,0x00,0x00,0x00]
121 lwpval $
0, (%rdx
), %r15
123 // CHECK
: slwpcb
%r13d
124 // CHECK
: encoding
: [0x8f,0xc9,0x78,0x12,0xcd]
127 // CHECK
: slwpcb
%r13
128 // CHECK
: encoding
: [0x8f,0xc9,0xf8,0x12,0xcd]