1 // RUN
: llvm-mc
-triple x86_64-unknown-unknown
--show-encoding
%s | FileCheck
%s
3 // CHECK
: clrssbsy
485498096
4 // CHECK
: encoding
: [0xf3,0x0f,0xae,0x34,0x25,0xf0,0x1c,0xf0,0x1c]
7 // CHECK
: clrssbsy
64(%rdx
)
8 // CHECK
: encoding
: [0xf3,0x0f,0xae,0x72,0x40]
11 // CHECK
: clrssbsy
64(%rdx
,%rax
,4)
12 // CHECK
: encoding
: [0xf3,0x0f,0xae,0x74,0x82,0x40]
13 clrssbsy
64(%rdx
,%rax
,4)
15 // CHECK
: clrssbsy
-64(%rdx
,%rax
,4)
16 // CHECK
: encoding
: [0xf3,0x0f,0xae,0x74,0x82,0xc0]
17 clrssbsy
-64(%rdx
,%rax
,4)
19 // CHECK
: clrssbsy
64(%rdx
,%rax
)
20 // CHECK
: encoding
: [0xf3,0x0f,0xae,0x74,0x02,0x40]
21 clrssbsy
64(%rdx
,%rax
)
23 // CHECK
: clrssbsy
(%rdx
)
24 // CHECK
: encoding
: [0xf3,0x0f,0xae,0x32]
28 // CHECK
: # encoding: [0xf3,0x0f,0x1e,0xfa]
32 // CHECK
: # encoding: [0xf3,0x0f,0x1e,0xfb]
35 // CHECK
: incsspd
%r13d
36 // CHECK
: # encoding: [0xf3,0x41,0x0f,0xae,0xed]
39 // CHECK
: incsspq
%r15
40 // CHECK
: # encoding: [0xf3,0x49,0x0f,0xae,0xef]
43 // CHECK
: rdsspd
%r13d
44 // CHECK
: encoding
: [0xf3,0x41,0x0f,0x1e,0xcd]
48 // CHECK
: encoding
: [0xf3,0x49,0x0f,0x1e,0xcf]
51 // CHECK
: rstorssp
485498096
52 // CHECK
: encoding
: [0xf3,0x0f,0x01,0x2c,0x25,0xf0,0x1c,0xf0,0x1c]
55 // CHECK
: rstorssp
64(%rdx
)
56 // CHECK
: encoding
: [0xf3,0x0f,0x01,0x6a,0x40]
59 // CHECK
: rstorssp
64(%rdx
,%rax
,4)
60 // CHECK
: encoding
: [0xf3,0x0f,0x01,0x6c,0x82,0x40]
61 rstorssp
64(%rdx
,%rax
,4)
63 // CHECK
: rstorssp
-64(%rdx
,%rax
,4)
64 // CHECK
: encoding
: [0xf3,0x0f,0x01,0x6c,0x82,0xc0]
65 rstorssp
-64(%rdx
,%rax
,4)
67 // CHECK
: rstorssp
64(%rdx
,%rax
)
68 // CHECK
: encoding
: [0xf3,0x0f,0x01,0x6c,0x02,0x40]
69 rstorssp
64(%rdx
,%rax
)
71 // CHECK
: rstorssp
(%rdx
)
72 // CHECK
: encoding
: [0xf3,0x0f,0x01,0x2a]
76 // CHECK
: encoding
: [0xf3,0x0f,0x01,0xea]
80 // CHECK
: # encoding: [0xf3,0x0f,0x01,0xe8]
83 // CHECK
: wrssd
%r13d
, 485498096
84 // CHECK
: encoding
: [0x44,0x0f,0x38,0xf6,0x2c,0x25,0xf0,0x1c,0xf0,0x1c]
85 wrssd
%r13d
, 485498096
87 // CHECK
: wrssd
%r13d
, 64(%rdx
)
88 // CHECK
: encoding
: [0x44,0x0f,0x38,0xf6,0x6a,0x40]
91 // CHECK
: wrssd
%r13d
, 64(%rdx
,%rax
,4)
92 // CHECK
: encoding
: [0x44,0x0f,0x38,0xf6,0x6c,0x82,0x40]
93 wrssd
%r13d
, 64(%rdx
,%rax
,4)
95 // CHECK
: wrssd
%r13d
, -64(%rdx
,%rax
,4)
96 // CHECK
: encoding
: [0x44,0x0f,0x38,0xf6,0x6c,0x82,0xc0]
97 wrssd
%r13d
, -64(%rdx
,%rax
,4)
99 // CHECK
: wrssd
%r13d
, 64(%rdx
,%rax
)
100 // CHECK
: encoding
: [0x44,0x0f,0x38,0xf6,0x6c,0x02,0x40]
101 wrssd
%r13d
, 64(%rdx
,%rax
)
103 // CHECK
: wrssd
%r13d
, (%rdx
)
104 // CHECK
: encoding
: [0x44,0x0f,0x38,0xf6,0x2a]
107 // CHECK
: wrssq
%r15, 485498096
108 // CHECK
: encoding
: [0x4c,0x0f,0x38,0xf6,0x3c,0x25,0xf0,0x1c,0xf0,0x1c]
109 wrssq
%r15, 485498096
111 // CHECK
: wrssq
%r15, 64(%rdx
)
112 // CHECK
: encoding
: [0x4c,0x0f,0x38,0xf6,0x7a,0x40]
115 // CHECK
: wrssq
%r15, 64(%rdx
,%rax
,4)
116 // CHECK
: encoding
: [0x4c,0x0f,0x38,0xf6,0x7c,0x82,0x40]
117 wrssq
%r15, 64(%rdx
,%rax
,4)
119 // CHECK
: wrssq
%r15, -64(%rdx
,%rax
,4)
120 // CHECK
: encoding
: [0x4c,0x0f,0x38,0xf6,0x7c,0x82,0xc0]
121 wrssq
%r15, -64(%rdx
,%rax
,4)
123 // CHECK
: wrssq
%r15, 64(%rdx
,%rax
)
124 // CHECK
: encoding
: [0x4c,0x0f,0x38,0xf6,0x7c,0x02,0x40]
125 wrssq
%r15, 64(%rdx
,%rax
)
127 // CHECK
: wrssq
%r15, (%rdx
)
128 // CHECK
: encoding
: [0x4c,0x0f,0x38,0xf6,0x3a]
131 // CHECK
: wrussd
%r13d
, 485498096
132 // CHECK
: encoding
: [0x66,0x44,0x0f,0x38,0xf5,0x2c,0x25,0xf0,0x1c,0xf0,0x1c]
133 wrussd
%r13d
, 485498096
135 // CHECK
: wrussd
%r13d
, 64(%rdx
)
136 // CHECK
: encoding
: [0x66,0x44,0x0f,0x38,0xf5,0x6a,0x40]
137 wrussd
%r13d
, 64(%rdx
)
139 // CHECK
: wrussd
%r13d
, 64(%rdx
,%rax
,4)
140 // CHECK
: encoding
: [0x66,0x44,0x0f,0x38,0xf5,0x6c,0x82,0x40]
141 wrussd
%r13d
, 64(%rdx
,%rax
,4)
143 // CHECK
: wrussd
%r13d
, -64(%rdx
,%rax
,4)
144 // CHECK
: encoding
: [0x66,0x44,0x0f,0x38,0xf5,0x6c,0x82,0xc0]
145 wrussd
%r13d
, -64(%rdx
,%rax
,4)
147 // CHECK
: wrussd
%r13d
, 64(%rdx
,%rax
)
148 // CHECK
: encoding
: [0x66,0x44,0x0f,0x38,0xf5,0x6c,0x02,0x40]
149 wrussd
%r13d
, 64(%rdx
,%rax
)
151 // CHECK
: wrussd
%r13d
, (%rdx
)
152 // CHECK
: encoding
: [0x66,0x44,0x0f,0x38,0xf5,0x2a]
155 // CHECK
: wrussq
%r15, 485498096
156 // CHECK
: encoding
: [0x66,0x4c,0x0f,0x38,0xf5,0x3c,0x25,0xf0,0x1c,0xf0,0x1c]
157 wrussq
%r15, 485498096
159 // CHECK
: wrussq
%r15, 64(%rdx
)
160 // CHECK
: encoding
: [0x66,0x4c,0x0f,0x38,0xf5,0x7a,0x40]
161 wrussq
%r15, 64(%rdx
)
163 // CHECK
: wrussq
%r15, 64(%rdx
,%rax
,4)
164 // CHECK
: encoding
: [0x66,0x4c,0x0f,0x38,0xf5,0x7c,0x82,0x40]
165 wrussq
%r15, 64(%rdx
,%rax
,4)
167 // CHECK
: wrussq
%r15, -64(%rdx
,%rax
,4)
168 // CHECK
: encoding
: [0x66,0x4c,0x0f,0x38,0xf5,0x7c,0x82,0xc0]
169 wrussq
%r15, -64(%rdx
,%rax
,4)
171 // CHECK
: wrussq
%r15, 64(%rdx
,%rax
)
172 // CHECK
: encoding
: [0x66,0x4c,0x0f,0x38,0xf5,0x7c,0x02,0x40]
173 wrussq
%r15, 64(%rdx
,%rax
)
175 // CHECK
: wrussq
%r15, (%rdx
)
176 // CHECK
: encoding
: [0x66,0x4c,0x0f,0x38,0xf5,0x3a]