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