[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / MC / X86 / I186-64.s
blob18aa124127a56c8d27ffca4ecdf7f9246a72c840
1 // RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s
3 // CHECK: enter $0, $0
4 // CHECK: encoding: [0xc8,0x00,0x00,0x00]
5 enter $0, $0
7 // CHECK: imull $0, %r13d, %r13d
8 // CHECK: encoding: [0x45,0x6b,0xed,0x00]
9 imull $0, %r13d, %r13d
11 // CHECK: insb %dx, %es:(%rdi)
12 // CHECK: encoding: [0x6c]
13 insb %dx, %es:(%rdi)
15 // CHECK: insl %dx, %es:(%rdi)
16 // CHECK: encoding: [0x6d]
17 insl %dx, %es:(%rdi)
19 // CHECK: insw %dx, %es:(%rdi)
20 // CHECK: encoding: [0x66,0x6d]
21 insw %dx, %es:(%rdi)
23 // CHECK: leave
24 // CHECK: encoding: [0xc9]
25 leave
27 // CHECK: outsb %gs:(%rsi), %dx
28 // CHECK: encoding: [0x65,0x6e]
29 outsb %gs:(%rsi), %dx
31 // CHECK: outsl %gs:(%rsi), %dx
32 // CHECK: encoding: [0x65,0x6f]
33 outsl %gs:(%rsi), %dx
35 // CHECK: outsw %gs:(%rsi), %dx
36 // CHECK: encoding: [0x66,0x65,0x6f]
37 outsw %gs:(%rsi), %dx
39 // CHECK: pushq $0
40 // CHECK: encoding: [0x6a,0x00]
41 pushq $0
43 // CHECK: rclb $0, 485498096
44 // CHECK: encoding: [0xc0,0x14,0x25,0xf0,0x1c,0xf0,0x1c,0x00]
45 rclb $0, 485498096
47 // CHECK: rclb $0, 64(%rdx)
48 // CHECK: encoding: [0xc0,0x52,0x40,0x00]
49 rclb $0, 64(%rdx)
51 // CHECK: rclb $0, 64(%rdx,%rax,4)
52 // CHECK: encoding: [0xc0,0x54,0x82,0x40,0x00]
53 rclb $0, 64(%rdx,%rax,4)
55 // CHECK: rclb $0, -64(%rdx,%rax,4)
56 // CHECK: encoding: [0xc0,0x54,0x82,0xc0,0x00]
57 rclb $0, -64(%rdx,%rax,4)
59 // CHECK: rclb $0, 64(%rdx,%rax)
60 // CHECK: encoding: [0xc0,0x54,0x02,0x40,0x00]
61 rclb $0, 64(%rdx,%rax)
63 // CHECK: rclb $0, %r14b
64 // CHECK: encoding: [0x41,0xc0,0xd6,0x00]
65 rclb $0, %r14b
67 // CHECK: rclb $0, (%rdx)
68 // CHECK: encoding: [0xc0,0x12,0x00]
69 rclb $0, (%rdx)
71 // CHECK: rcll $0, 485498096
72 // CHECK: encoding: [0xc1,0x14,0x25,0xf0,0x1c,0xf0,0x1c,0x00]
73 rcll $0, 485498096
75 // CHECK: rcll $0, 64(%rdx)
76 // CHECK: encoding: [0xc1,0x52,0x40,0x00]
77 rcll $0, 64(%rdx)
79 // CHECK: rcll $0, 64(%rdx,%rax,4)
80 // CHECK: encoding: [0xc1,0x54,0x82,0x40,0x00]
81 rcll $0, 64(%rdx,%rax,4)
83 // CHECK: rcll $0, -64(%rdx,%rax,4)
84 // CHECK: encoding: [0xc1,0x54,0x82,0xc0,0x00]
85 rcll $0, -64(%rdx,%rax,4)
87 // CHECK: rcll $0, 64(%rdx,%rax)
88 // CHECK: encoding: [0xc1,0x54,0x02,0x40,0x00]
89 rcll $0, 64(%rdx,%rax)
91 // CHECK: rcll $0, %r13d
92 // CHECK: encoding: [0x41,0xc1,0xd5,0x00]
93 rcll $0, %r13d
95 // CHECK: rcll $0, (%rdx)
96 // CHECK: encoding: [0xc1,0x12,0x00]
97 rcll $0, (%rdx)
99 // CHECK: rclq $0, 485498096
100 // CHECK: encoding: [0x48,0xc1,0x14,0x25,0xf0,0x1c,0xf0,0x1c,0x00]
101 rclq $0, 485498096
103 // CHECK: rclq $0, 64(%rdx)
104 // CHECK: encoding: [0x48,0xc1,0x52,0x40,0x00]
105 rclq $0, 64(%rdx)
107 // CHECK: rclq $0, 64(%rdx,%rax,4)
108 // CHECK: encoding: [0x48,0xc1,0x54,0x82,0x40,0x00]
109 rclq $0, 64(%rdx,%rax,4)
111 // CHECK: rclq $0, -64(%rdx,%rax,4)
112 // CHECK: encoding: [0x48,0xc1,0x54,0x82,0xc0,0x00]
113 rclq $0, -64(%rdx,%rax,4)
115 // CHECK: rclq $0, 64(%rdx,%rax)
116 // CHECK: encoding: [0x48,0xc1,0x54,0x02,0x40,0x00]
117 rclq $0, 64(%rdx,%rax)
119 // CHECK: rclq $0, (%rdx)
120 // CHECK: encoding: [0x48,0xc1,0x12,0x00]
121 rclq $0, (%rdx)
123 // CHECK: rclw $0, 485498096
124 // CHECK: encoding: [0x66,0xc1,0x14,0x25,0xf0,0x1c,0xf0,0x1c,0x00]
125 rclw $0, 485498096
127 // CHECK: rclw $0, 64(%rdx)
128 // CHECK: encoding: [0x66,0xc1,0x52,0x40,0x00]
129 rclw $0, 64(%rdx)
131 // CHECK: rclw $0, 64(%rdx,%rax,4)
132 // CHECK: encoding: [0x66,0xc1,0x54,0x82,0x40,0x00]
133 rclw $0, 64(%rdx,%rax,4)
135 // CHECK: rclw $0, -64(%rdx,%rax,4)
136 // CHECK: encoding: [0x66,0xc1,0x54,0x82,0xc0,0x00]
137 rclw $0, -64(%rdx,%rax,4)
139 // CHECK: rclw $0, 64(%rdx,%rax)
140 // CHECK: encoding: [0x66,0xc1,0x54,0x02,0x40,0x00]
141 rclw $0, 64(%rdx,%rax)
143 // CHECK: rclw $0, %r14w
144 // CHECK: encoding: [0x66,0x41,0xc1,0xd6,0x00]
145 rclw $0, %r14w
147 // CHECK: rclw $0, (%rdx)
148 // CHECK: encoding: [0x66,0xc1,0x12,0x00]
149 rclw $0, (%rdx)
151 // CHECK: rcrb $0, 485498096
152 // CHECK: encoding: [0xc0,0x1c,0x25,0xf0,0x1c,0xf0,0x1c,0x00]
153 rcrb $0, 485498096
155 // CHECK: rcrb $0, 64(%rdx)
156 // CHECK: encoding: [0xc0,0x5a,0x40,0x00]
157 rcrb $0, 64(%rdx)
159 // CHECK: rcrb $0, 64(%rdx,%rax,4)
160 // CHECK: encoding: [0xc0,0x5c,0x82,0x40,0x00]
161 rcrb $0, 64(%rdx,%rax,4)
163 // CHECK: rcrb $0, -64(%rdx,%rax,4)
164 // CHECK: encoding: [0xc0,0x5c,0x82,0xc0,0x00]
165 rcrb $0, -64(%rdx,%rax,4)
167 // CHECK: rcrb $0, 64(%rdx,%rax)
168 // CHECK: encoding: [0xc0,0x5c,0x02,0x40,0x00]
169 rcrb $0, 64(%rdx,%rax)
171 // CHECK: rcrb $0, %r14b
172 // CHECK: encoding: [0x41,0xc0,0xde,0x00]
173 rcrb $0, %r14b
175 // CHECK: rcrb $0, (%rdx)
176 // CHECK: encoding: [0xc0,0x1a,0x00]
177 rcrb $0, (%rdx)
179 // CHECK: rcrl $0, 485498096
180 // CHECK: encoding: [0xc1,0x1c,0x25,0xf0,0x1c,0xf0,0x1c,0x00]
181 rcrl $0, 485498096
183 // CHECK: rcrl $0, 64(%rdx)
184 // CHECK: encoding: [0xc1,0x5a,0x40,0x00]
185 rcrl $0, 64(%rdx)
187 // CHECK: rcrl $0, 64(%rdx,%rax,4)
188 // CHECK: encoding: [0xc1,0x5c,0x82,0x40,0x00]
189 rcrl $0, 64(%rdx,%rax,4)
191 // CHECK: rcrl $0, -64(%rdx,%rax,4)
192 // CHECK: encoding: [0xc1,0x5c,0x82,0xc0,0x00]
193 rcrl $0, -64(%rdx,%rax,4)
195 // CHECK: rcrl $0, 64(%rdx,%rax)
196 // CHECK: encoding: [0xc1,0x5c,0x02,0x40,0x00]
197 rcrl $0, 64(%rdx,%rax)
199 // CHECK: rcrl $0, %r13d
200 // CHECK: encoding: [0x41,0xc1,0xdd,0x00]
201 rcrl $0, %r13d
203 // CHECK: rcrl $0, (%rdx)
204 // CHECK: encoding: [0xc1,0x1a,0x00]
205 rcrl $0, (%rdx)
207 // CHECK: rcrq $0, 485498096
208 // CHECK: encoding: [0x48,0xc1,0x1c,0x25,0xf0,0x1c,0xf0,0x1c,0x00]
209 rcrq $0, 485498096
211 // CHECK: rcrq $0, 64(%rdx)
212 // CHECK: encoding: [0x48,0xc1,0x5a,0x40,0x00]
213 rcrq $0, 64(%rdx)
215 // CHECK: rcrq $0, 64(%rdx,%rax,4)
216 // CHECK: encoding: [0x48,0xc1,0x5c,0x82,0x40,0x00]
217 rcrq $0, 64(%rdx,%rax,4)
219 // CHECK: rcrq $0, -64(%rdx,%rax,4)
220 // CHECK: encoding: [0x48,0xc1,0x5c,0x82,0xc0,0x00]
221 rcrq $0, -64(%rdx,%rax,4)
223 // CHECK: rcrq $0, 64(%rdx,%rax)
224 // CHECK: encoding: [0x48,0xc1,0x5c,0x02,0x40,0x00]
225 rcrq $0, 64(%rdx,%rax)
227 // CHECK: rcrq $0, (%rdx)
228 // CHECK: encoding: [0x48,0xc1,0x1a,0x00]
229 rcrq $0, (%rdx)
231 // CHECK: rcrw $0, 485498096
232 // CHECK: encoding: [0x66,0xc1,0x1c,0x25,0xf0,0x1c,0xf0,0x1c,0x00]
233 rcrw $0, 485498096
235 // CHECK: rcrw $0, 64(%rdx)
236 // CHECK: encoding: [0x66,0xc1,0x5a,0x40,0x00]
237 rcrw $0, 64(%rdx)
239 // CHECK: rcrw $0, 64(%rdx,%rax,4)
240 // CHECK: encoding: [0x66,0xc1,0x5c,0x82,0x40,0x00]
241 rcrw $0, 64(%rdx,%rax,4)
243 // CHECK: rcrw $0, -64(%rdx,%rax,4)
244 // CHECK: encoding: [0x66,0xc1,0x5c,0x82,0xc0,0x00]
245 rcrw $0, -64(%rdx,%rax,4)
247 // CHECK: rcrw $0, 64(%rdx,%rax)
248 // CHECK: encoding: [0x66,0xc1,0x5c,0x02,0x40,0x00]
249 rcrw $0, 64(%rdx,%rax)
251 // CHECK: rcrw $0, %r14w
252 // CHECK: encoding: [0x66,0x41,0xc1,0xde,0x00]
253 rcrw $0, %r14w
255 // CHECK: rcrw $0, (%rdx)
256 // CHECK: encoding: [0x66,0xc1,0x1a,0x00]
257 rcrw $0, (%rdx)
259 // CHECK: rep insb %dx, %es:(%rdi)
260 // CHECK: encoding: [0xf3,0x6c]
261 rep insb %dx, %es:(%rdi)
263 // CHECK: rep insl %dx, %es:(%rdi)
264 // CHECK: encoding: [0xf3,0x6d]
265 rep insl %dx, %es:(%rdi)
267 // CHECK: rep insw %dx, %es:(%rdi)
268 // CHECK: encoding: [0xf3,0x66,0x6d]
269 rep insw %dx, %es:(%rdi)
271 // CHECK: repne insb %dx, %es:(%rdi)
272 // CHECK: encoding: [0xf2,0x6c]
273 repne insb %dx, %es:(%rdi)
275 // CHECK: repne insl %dx, %es:(%rdi)
276 // CHECK: encoding: [0xf2,0x6d]
277 repne insl %dx, %es:(%rdi)
279 // CHECK: repne insw %dx, %es:(%rdi)
280 // CHECK: encoding: [0xf2,0x66,0x6d]
281 repne insw %dx, %es:(%rdi)
283 // CHECK: repne outsb %gs:(%rsi), %dx
284 // CHECK: encoding: [0xf2,0x65,0x6e]
285 repne outsb %gs:(%rsi), %dx
287 // CHECK: repne outsl %gs:(%rsi), %dx
288 // CHECK: encoding: [0xf2,0x65,0x6f]
289 repne outsl %gs:(%rsi), %dx
291 // CHECK: repne outsw %gs:(%rsi), %dx
292 // CHECK: encoding: [0xf2,0x66,0x65,0x6f]
293 repne outsw %gs:(%rsi), %dx
295 // CHECK: rep outsb %gs:(%rsi), %dx
296 // CHECK: encoding: [0xf3,0x65,0x6e]
297 rep outsb %gs:(%rsi), %dx
299 // CHECK: rep outsl %gs:(%rsi), %dx
300 // CHECK: encoding: [0xf3,0x65,0x6f]
301 rep outsl %gs:(%rsi), %dx
303 // CHECK: rep outsw %gs:(%rsi), %dx
304 // CHECK: encoding: [0xf3,0x66,0x65,0x6f]
305 rep outsw %gs:(%rsi), %dx
307 // CHECK: rolb $0, 485498096
308 // CHECK: encoding: [0xc0,0x04,0x25,0xf0,0x1c,0xf0,0x1c,0x00]
309 rolb $0, 485498096
311 // CHECK: rolb $0, 64(%rdx)
312 // CHECK: encoding: [0xc0,0x42,0x40,0x00]
313 rolb $0, 64(%rdx)
315 // CHECK: rolb $0, 64(%rdx,%rax,4)
316 // CHECK: encoding: [0xc0,0x44,0x82,0x40,0x00]
317 rolb $0, 64(%rdx,%rax,4)
319 // CHECK: rolb $0, -64(%rdx,%rax,4)
320 // CHECK: encoding: [0xc0,0x44,0x82,0xc0,0x00]
321 rolb $0, -64(%rdx,%rax,4)
323 // CHECK: rolb $0, 64(%rdx,%rax)
324 // CHECK: encoding: [0xc0,0x44,0x02,0x40,0x00]
325 rolb $0, 64(%rdx,%rax)
327 // CHECK: rolb $0, %r14b
328 // CHECK: encoding: [0x41,0xc0,0xc6,0x00]
329 rolb $0, %r14b
331 // CHECK: rolb $0, (%rdx)
332 // CHECK: encoding: [0xc0,0x02,0x00]
333 rolb $0, (%rdx)
335 // CHECK: roll $0, 485498096
336 // CHECK: encoding: [0xc1,0x04,0x25,0xf0,0x1c,0xf0,0x1c,0x00]
337 roll $0, 485498096
339 // CHECK: roll $0, 64(%rdx)
340 // CHECK: encoding: [0xc1,0x42,0x40,0x00]
341 roll $0, 64(%rdx)
343 // CHECK: roll $0, 64(%rdx,%rax,4)
344 // CHECK: encoding: [0xc1,0x44,0x82,0x40,0x00]
345 roll $0, 64(%rdx,%rax,4)
347 // CHECK: roll $0, -64(%rdx,%rax,4)
348 // CHECK: encoding: [0xc1,0x44,0x82,0xc0,0x00]
349 roll $0, -64(%rdx,%rax,4)
351 // CHECK: roll $0, 64(%rdx,%rax)
352 // CHECK: encoding: [0xc1,0x44,0x02,0x40,0x00]
353 roll $0, 64(%rdx,%rax)
355 // CHECK: roll $0, %r13d
356 // CHECK: encoding: [0x41,0xc1,0xc5,0x00]
357 roll $0, %r13d
359 // CHECK: roll $0, (%rdx)
360 // CHECK: encoding: [0xc1,0x02,0x00]
361 roll $0, (%rdx)
363 // CHECK: rolq $0, 485498096
364 // CHECK: encoding: [0x48,0xc1,0x04,0x25,0xf0,0x1c,0xf0,0x1c,0x00]
365 rolq $0, 485498096
367 // CHECK: rolq $0, 64(%rdx)
368 // CHECK: encoding: [0x48,0xc1,0x42,0x40,0x00]
369 rolq $0, 64(%rdx)
371 // CHECK: rolq $0, 64(%rdx,%rax,4)
372 // CHECK: encoding: [0x48,0xc1,0x44,0x82,0x40,0x00]
373 rolq $0, 64(%rdx,%rax,4)
375 // CHECK: rolq $0, -64(%rdx,%rax,4)
376 // CHECK: encoding: [0x48,0xc1,0x44,0x82,0xc0,0x00]
377 rolq $0, -64(%rdx,%rax,4)
379 // CHECK: rolq $0, 64(%rdx,%rax)
380 // CHECK: encoding: [0x48,0xc1,0x44,0x02,0x40,0x00]
381 rolq $0, 64(%rdx,%rax)
383 // CHECK: rolq $0, (%rdx)
384 // CHECK: encoding: [0x48,0xc1,0x02,0x00]
385 rolq $0, (%rdx)
387 // CHECK: rolw $0, 485498096
388 // CHECK: encoding: [0x66,0xc1,0x04,0x25,0xf0,0x1c,0xf0,0x1c,0x00]
389 rolw $0, 485498096
391 // CHECK: rolw $0, 64(%rdx)
392 // CHECK: encoding: [0x66,0xc1,0x42,0x40,0x00]
393 rolw $0, 64(%rdx)
395 // CHECK: rolw $0, 64(%rdx,%rax,4)
396 // CHECK: encoding: [0x66,0xc1,0x44,0x82,0x40,0x00]
397 rolw $0, 64(%rdx,%rax,4)
399 // CHECK: rolw $0, -64(%rdx,%rax,4)
400 // CHECK: encoding: [0x66,0xc1,0x44,0x82,0xc0,0x00]
401 rolw $0, -64(%rdx,%rax,4)
403 // CHECK: rolw $0, 64(%rdx,%rax)
404 // CHECK: encoding: [0x66,0xc1,0x44,0x02,0x40,0x00]
405 rolw $0, 64(%rdx,%rax)
407 // CHECK: rolw $0, %r14w
408 // CHECK: encoding: [0x66,0x41,0xc1,0xc6,0x00]
409 rolw $0, %r14w
411 // CHECK: rolw $0, (%rdx)
412 // CHECK: encoding: [0x66,0xc1,0x02,0x00]
413 rolw $0, (%rdx)
415 // CHECK: rorb $0, 485498096
416 // CHECK: encoding: [0xc0,0x0c,0x25,0xf0,0x1c,0xf0,0x1c,0x00]
417 rorb $0, 485498096
419 // CHECK: rorb $0, 64(%rdx)
420 // CHECK: encoding: [0xc0,0x4a,0x40,0x00]
421 rorb $0, 64(%rdx)
423 // CHECK: rorb $0, 64(%rdx,%rax,4)
424 // CHECK: encoding: [0xc0,0x4c,0x82,0x40,0x00]
425 rorb $0, 64(%rdx,%rax,4)
427 // CHECK: rorb $0, -64(%rdx,%rax,4)
428 // CHECK: encoding: [0xc0,0x4c,0x82,0xc0,0x00]
429 rorb $0, -64(%rdx,%rax,4)
431 // CHECK: rorb $0, 64(%rdx,%rax)
432 // CHECK: encoding: [0xc0,0x4c,0x02,0x40,0x00]
433 rorb $0, 64(%rdx,%rax)
435 // CHECK: rorb $0, %r14b
436 // CHECK: encoding: [0x41,0xc0,0xce,0x00]
437 rorb $0, %r14b
439 // CHECK: rorb $0, (%rdx)
440 // CHECK: encoding: [0xc0,0x0a,0x00]
441 rorb $0, (%rdx)
443 // CHECK: rorl $0, 485498096
444 // CHECK: encoding: [0xc1,0x0c,0x25,0xf0,0x1c,0xf0,0x1c,0x00]
445 rorl $0, 485498096
447 // CHECK: rorl $0, 64(%rdx)
448 // CHECK: encoding: [0xc1,0x4a,0x40,0x00]
449 rorl $0, 64(%rdx)
451 // CHECK: rorl $0, 64(%rdx,%rax,4)
452 // CHECK: encoding: [0xc1,0x4c,0x82,0x40,0x00]
453 rorl $0, 64(%rdx,%rax,4)
455 // CHECK: rorl $0, -64(%rdx,%rax,4)
456 // CHECK: encoding: [0xc1,0x4c,0x82,0xc0,0x00]
457 rorl $0, -64(%rdx,%rax,4)
459 // CHECK: rorl $0, 64(%rdx,%rax)
460 // CHECK: encoding: [0xc1,0x4c,0x02,0x40,0x00]
461 rorl $0, 64(%rdx,%rax)
463 // CHECK: rorl $0, %r13d
464 // CHECK: encoding: [0x41,0xc1,0xcd,0x00]
465 rorl $0, %r13d
467 // CHECK: rorl $0, (%rdx)
468 // CHECK: encoding: [0xc1,0x0a,0x00]
469 rorl $0, (%rdx)
471 // CHECK: rorq $0, 485498096
472 // CHECK: encoding: [0x48,0xc1,0x0c,0x25,0xf0,0x1c,0xf0,0x1c,0x00]
473 rorq $0, 485498096
475 // CHECK: rorq $0, 64(%rdx)
476 // CHECK: encoding: [0x48,0xc1,0x4a,0x40,0x00]
477 rorq $0, 64(%rdx)
479 // CHECK: rorq $0, 64(%rdx,%rax,4)
480 // CHECK: encoding: [0x48,0xc1,0x4c,0x82,0x40,0x00]
481 rorq $0, 64(%rdx,%rax,4)
483 // CHECK: rorq $0, -64(%rdx,%rax,4)
484 // CHECK: encoding: [0x48,0xc1,0x4c,0x82,0xc0,0x00]
485 rorq $0, -64(%rdx,%rax,4)
487 // CHECK: rorq $0, 64(%rdx,%rax)
488 // CHECK: encoding: [0x48,0xc1,0x4c,0x02,0x40,0x00]
489 rorq $0, 64(%rdx,%rax)
491 // CHECK: rorq $0, (%rdx)
492 // CHECK: encoding: [0x48,0xc1,0x0a,0x00]
493 rorq $0, (%rdx)
495 // CHECK: rorw $0, 485498096
496 // CHECK: encoding: [0x66,0xc1,0x0c,0x25,0xf0,0x1c,0xf0,0x1c,0x00]
497 rorw $0, 485498096
499 // CHECK: rorw $0, 64(%rdx)
500 // CHECK: encoding: [0x66,0xc1,0x4a,0x40,0x00]
501 rorw $0, 64(%rdx)
503 // CHECK: rorw $0, 64(%rdx,%rax,4)
504 // CHECK: encoding: [0x66,0xc1,0x4c,0x82,0x40,0x00]
505 rorw $0, 64(%rdx,%rax,4)
507 // CHECK: rorw $0, -64(%rdx,%rax,4)
508 // CHECK: encoding: [0x66,0xc1,0x4c,0x82,0xc0,0x00]
509 rorw $0, -64(%rdx,%rax,4)
511 // CHECK: rorw $0, 64(%rdx,%rax)
512 // CHECK: encoding: [0x66,0xc1,0x4c,0x02,0x40,0x00]
513 rorw $0, 64(%rdx,%rax)
515 // CHECK: rorw $0, %r14w
516 // CHECK: encoding: [0x66,0x41,0xc1,0xce,0x00]
517 rorw $0, %r14w
519 // CHECK: rorw $0, (%rdx)
520 // CHECK: encoding: [0x66,0xc1,0x0a,0x00]
521 rorw $0, (%rdx)
523 // CHECK: sarb $0, 485498096
524 // CHECK: encoding: [0xc0,0x3c,0x25,0xf0,0x1c,0xf0,0x1c,0x00]
525 sarb $0, 485498096
527 // CHECK: sarb $0, 64(%rdx)
528 // CHECK: encoding: [0xc0,0x7a,0x40,0x00]
529 sarb $0, 64(%rdx)
531 // CHECK: sarb $0, 64(%rdx,%rax,4)
532 // CHECK: encoding: [0xc0,0x7c,0x82,0x40,0x00]
533 sarb $0, 64(%rdx,%rax,4)
535 // CHECK: sarb $0, -64(%rdx,%rax,4)
536 // CHECK: encoding: [0xc0,0x7c,0x82,0xc0,0x00]
537 sarb $0, -64(%rdx,%rax,4)
539 // CHECK: sarb $0, 64(%rdx,%rax)
540 // CHECK: encoding: [0xc0,0x7c,0x02,0x40,0x00]
541 sarb $0, 64(%rdx,%rax)
543 // CHECK: sarb $0, %r14b
544 // CHECK: encoding: [0x41,0xc0,0xfe,0x00]
545 sarb $0, %r14b
547 // CHECK: sarb $0, (%rdx)
548 // CHECK: encoding: [0xc0,0x3a,0x00]
549 sarb $0, (%rdx)
551 // CHECK: sarl $0, 485498096
552 // CHECK: encoding: [0xc1,0x3c,0x25,0xf0,0x1c,0xf0,0x1c,0x00]
553 sarl $0, 485498096
555 // CHECK: sarl $0, 64(%rdx)
556 // CHECK: encoding: [0xc1,0x7a,0x40,0x00]
557 sarl $0, 64(%rdx)
559 // CHECK: sarl $0, 64(%rdx,%rax,4)
560 // CHECK: encoding: [0xc1,0x7c,0x82,0x40,0x00]
561 sarl $0, 64(%rdx,%rax,4)
563 // CHECK: sarl $0, -64(%rdx,%rax,4)
564 // CHECK: encoding: [0xc1,0x7c,0x82,0xc0,0x00]
565 sarl $0, -64(%rdx,%rax,4)
567 // CHECK: sarl $0, 64(%rdx,%rax)
568 // CHECK: encoding: [0xc1,0x7c,0x02,0x40,0x00]
569 sarl $0, 64(%rdx,%rax)
571 // CHECK: sarl $0, %r13d
572 // CHECK: encoding: [0x41,0xc1,0xfd,0x00]
573 sarl $0, %r13d
575 // CHECK: sarl $0, (%rdx)
576 // CHECK: encoding: [0xc1,0x3a,0x00]
577 sarl $0, (%rdx)
579 // CHECK: sarq $0, 485498096
580 // CHECK: encoding: [0x48,0xc1,0x3c,0x25,0xf0,0x1c,0xf0,0x1c,0x00]
581 sarq $0, 485498096
583 // CHECK: sarq $0, 64(%rdx)
584 // CHECK: encoding: [0x48,0xc1,0x7a,0x40,0x00]
585 sarq $0, 64(%rdx)
587 // CHECK: sarq $0, 64(%rdx,%rax,4)
588 // CHECK: encoding: [0x48,0xc1,0x7c,0x82,0x40,0x00]
589 sarq $0, 64(%rdx,%rax,4)
591 // CHECK: sarq $0, -64(%rdx,%rax,4)
592 // CHECK: encoding: [0x48,0xc1,0x7c,0x82,0xc0,0x00]
593 sarq $0, -64(%rdx,%rax,4)
595 // CHECK: sarq $0, 64(%rdx,%rax)
596 // CHECK: encoding: [0x48,0xc1,0x7c,0x02,0x40,0x00]
597 sarq $0, 64(%rdx,%rax)
599 // CHECK: sarq $0, (%rdx)
600 // CHECK: encoding: [0x48,0xc1,0x3a,0x00]
601 sarq $0, (%rdx)
603 // CHECK: sarw $0, 485498096
604 // CHECK: encoding: [0x66,0xc1,0x3c,0x25,0xf0,0x1c,0xf0,0x1c,0x00]
605 sarw $0, 485498096
607 // CHECK: sarw $0, 64(%rdx)
608 // CHECK: encoding: [0x66,0xc1,0x7a,0x40,0x00]
609 sarw $0, 64(%rdx)
611 // CHECK: sarw $0, 64(%rdx,%rax,4)
612 // CHECK: encoding: [0x66,0xc1,0x7c,0x82,0x40,0x00]
613 sarw $0, 64(%rdx,%rax,4)
615 // CHECK: sarw $0, -64(%rdx,%rax,4)
616 // CHECK: encoding: [0x66,0xc1,0x7c,0x82,0xc0,0x00]
617 sarw $0, -64(%rdx,%rax,4)
619 // CHECK: sarw $0, 64(%rdx,%rax)
620 // CHECK: encoding: [0x66,0xc1,0x7c,0x02,0x40,0x00]
621 sarw $0, 64(%rdx,%rax)
623 // CHECK: sarw $0, %r14w
624 // CHECK: encoding: [0x66,0x41,0xc1,0xfe,0x00]
625 sarw $0, %r14w
627 // CHECK: sarw $0, (%rdx)
628 // CHECK: encoding: [0x66,0xc1,0x3a,0x00]
629 sarw $0, (%rdx)
631 // CHECK: shlb $0, 485498096
632 // CHECK: encoding: [0xc0,0x24,0x25,0xf0,0x1c,0xf0,0x1c,0x00]
633 shlb $0, 485498096
635 // CHECK: shlb $0, 64(%rdx)
636 // CHECK: encoding: [0xc0,0x62,0x40,0x00]
637 shlb $0, 64(%rdx)
639 // CHECK: shlb $0, 64(%rdx,%rax,4)
640 // CHECK: encoding: [0xc0,0x64,0x82,0x40,0x00]
641 shlb $0, 64(%rdx,%rax,4)
643 // CHECK: shlb $0, -64(%rdx,%rax,4)
644 // CHECK: encoding: [0xc0,0x64,0x82,0xc0,0x00]
645 shlb $0, -64(%rdx,%rax,4)
647 // CHECK: shlb $0, 64(%rdx,%rax)
648 // CHECK: encoding: [0xc0,0x64,0x02,0x40,0x00]
649 shlb $0, 64(%rdx,%rax)
651 // CHECK: shlb $0, %r14b
652 // CHECK: encoding: [0x41,0xc0,0xe6,0x00]
653 shlb $0, %r14b
655 // CHECK: shlb $0, (%rdx)
656 // CHECK: encoding: [0xc0,0x22,0x00]
657 shlb $0, (%rdx)
659 // CHECK: shll $0, 485498096
660 // CHECK: encoding: [0xc1,0x24,0x25,0xf0,0x1c,0xf0,0x1c,0x00]
661 shll $0, 485498096
663 // CHECK: shll $0, 64(%rdx)
664 // CHECK: encoding: [0xc1,0x62,0x40,0x00]
665 shll $0, 64(%rdx)
667 // CHECK: shll $0, 64(%rdx,%rax,4)
668 // CHECK: encoding: [0xc1,0x64,0x82,0x40,0x00]
669 shll $0, 64(%rdx,%rax,4)
671 // CHECK: shll $0, -64(%rdx,%rax,4)
672 // CHECK: encoding: [0xc1,0x64,0x82,0xc0,0x00]
673 shll $0, -64(%rdx,%rax,4)
675 // CHECK: shll $0, 64(%rdx,%rax)
676 // CHECK: encoding: [0xc1,0x64,0x02,0x40,0x00]
677 shll $0, 64(%rdx,%rax)
679 // CHECK: shll $0, %r13d
680 // CHECK: encoding: [0x41,0xc1,0xe5,0x00]
681 shll $0, %r13d
683 // CHECK: shll $0, (%rdx)
684 // CHECK: encoding: [0xc1,0x22,0x00]
685 shll $0, (%rdx)
687 // CHECK: shlq $0, 485498096
688 // CHECK: encoding: [0x48,0xc1,0x24,0x25,0xf0,0x1c,0xf0,0x1c,0x00]
689 shlq $0, 485498096
691 // CHECK: shlq $0, 64(%rdx)
692 // CHECK: encoding: [0x48,0xc1,0x62,0x40,0x00]
693 shlq $0, 64(%rdx)
695 // CHECK: shlq $0, 64(%rdx,%rax,4)
696 // CHECK: encoding: [0x48,0xc1,0x64,0x82,0x40,0x00]
697 shlq $0, 64(%rdx,%rax,4)
699 // CHECK: shlq $0, -64(%rdx,%rax,4)
700 // CHECK: encoding: [0x48,0xc1,0x64,0x82,0xc0,0x00]
701 shlq $0, -64(%rdx,%rax,4)
703 // CHECK: shlq $0, 64(%rdx,%rax)
704 // CHECK: encoding: [0x48,0xc1,0x64,0x02,0x40,0x00]
705 shlq $0, 64(%rdx,%rax)
707 // CHECK: shlq $0, (%rdx)
708 // CHECK: encoding: [0x48,0xc1,0x22,0x00]
709 shlq $0, (%rdx)
711 // CHECK: shlw $0, 485498096
712 // CHECK: encoding: [0x66,0xc1,0x24,0x25,0xf0,0x1c,0xf0,0x1c,0x00]
713 shlw $0, 485498096
715 // CHECK: shlw $0, 64(%rdx)
716 // CHECK: encoding: [0x66,0xc1,0x62,0x40,0x00]
717 shlw $0, 64(%rdx)
719 // CHECK: shlw $0, 64(%rdx,%rax,4)
720 // CHECK: encoding: [0x66,0xc1,0x64,0x82,0x40,0x00]
721 shlw $0, 64(%rdx,%rax,4)
723 // CHECK: shlw $0, -64(%rdx,%rax,4)
724 // CHECK: encoding: [0x66,0xc1,0x64,0x82,0xc0,0x00]
725 shlw $0, -64(%rdx,%rax,4)
727 // CHECK: shlw $0, 64(%rdx,%rax)
728 // CHECK: encoding: [0x66,0xc1,0x64,0x02,0x40,0x00]
729 shlw $0, 64(%rdx,%rax)
731 // CHECK: shlw $0, %r14w
732 // CHECK: encoding: [0x66,0x41,0xc1,0xe6,0x00]
733 shlw $0, %r14w
735 // CHECK: shlw $0, (%rdx)
736 // CHECK: encoding: [0x66,0xc1,0x22,0x00]
737 shlw $0, (%rdx)
739 // CHECK: shrb $0, 485498096
740 // CHECK: encoding: [0xc0,0x2c,0x25,0xf0,0x1c,0xf0,0x1c,0x00]
741 shrb $0, 485498096
743 // CHECK: shrb $0, 64(%rdx)
744 // CHECK: encoding: [0xc0,0x6a,0x40,0x00]
745 shrb $0, 64(%rdx)
747 // CHECK: shrb $0, 64(%rdx,%rax,4)
748 // CHECK: encoding: [0xc0,0x6c,0x82,0x40,0x00]
749 shrb $0, 64(%rdx,%rax,4)
751 // CHECK: shrb $0, -64(%rdx,%rax,4)
752 // CHECK: encoding: [0xc0,0x6c,0x82,0xc0,0x00]
753 shrb $0, -64(%rdx,%rax,4)
755 // CHECK: shrb $0, 64(%rdx,%rax)
756 // CHECK: encoding: [0xc0,0x6c,0x02,0x40,0x00]
757 shrb $0, 64(%rdx,%rax)
759 // CHECK: shrb $0, %r14b
760 // CHECK: encoding: [0x41,0xc0,0xee,0x00]
761 shrb $0, %r14b
763 // CHECK: shrb $0, (%rdx)
764 // CHECK: encoding: [0xc0,0x2a,0x00]
765 shrb $0, (%rdx)
767 // CHECK: shrl $0, 485498096
768 // CHECK: encoding: [0xc1,0x2c,0x25,0xf0,0x1c,0xf0,0x1c,0x00]
769 shrl $0, 485498096
771 // CHECK: shrl $0, 64(%rdx)
772 // CHECK: encoding: [0xc1,0x6a,0x40,0x00]
773 shrl $0, 64(%rdx)
775 // CHECK: shrl $0, 64(%rdx,%rax,4)
776 // CHECK: encoding: [0xc1,0x6c,0x82,0x40,0x00]
777 shrl $0, 64(%rdx,%rax,4)
779 // CHECK: shrl $0, -64(%rdx,%rax,4)
780 // CHECK: encoding: [0xc1,0x6c,0x82,0xc0,0x00]
781 shrl $0, -64(%rdx,%rax,4)
783 // CHECK: shrl $0, 64(%rdx,%rax)
784 // CHECK: encoding: [0xc1,0x6c,0x02,0x40,0x00]
785 shrl $0, 64(%rdx,%rax)
787 // CHECK: shrl $0, %r13d
788 // CHECK: encoding: [0x41,0xc1,0xed,0x00]
789 shrl $0, %r13d
791 // CHECK: shrl $0, (%rdx)
792 // CHECK: encoding: [0xc1,0x2a,0x00]
793 shrl $0, (%rdx)
795 // CHECK: shrq $0, 485498096
796 // CHECK: encoding: [0x48,0xc1,0x2c,0x25,0xf0,0x1c,0xf0,0x1c,0x00]
797 shrq $0, 485498096
799 // CHECK: shrq $0, 64(%rdx)
800 // CHECK: encoding: [0x48,0xc1,0x6a,0x40,0x00]
801 shrq $0, 64(%rdx)
803 // CHECK: shrq $0, 64(%rdx,%rax,4)
804 // CHECK: encoding: [0x48,0xc1,0x6c,0x82,0x40,0x00]
805 shrq $0, 64(%rdx,%rax,4)
807 // CHECK: shrq $0, -64(%rdx,%rax,4)
808 // CHECK: encoding: [0x48,0xc1,0x6c,0x82,0xc0,0x00]
809 shrq $0, -64(%rdx,%rax,4)
811 // CHECK: shrq $0, 64(%rdx,%rax)
812 // CHECK: encoding: [0x48,0xc1,0x6c,0x02,0x40,0x00]
813 shrq $0, 64(%rdx,%rax)
815 // CHECK: shrq $0, (%rdx)
816 // CHECK: encoding: [0x48,0xc1,0x2a,0x00]
817 shrq $0, (%rdx)
819 // CHECK: shrw $0, 485498096
820 // CHECK: encoding: [0x66,0xc1,0x2c,0x25,0xf0,0x1c,0xf0,0x1c,0x00]
821 shrw $0, 485498096
823 // CHECK: shrw $0, 64(%rdx)
824 // CHECK: encoding: [0x66,0xc1,0x6a,0x40,0x00]
825 shrw $0, 64(%rdx)
827 // CHECK: shrw $0, 64(%rdx,%rax,4)
828 // CHECK: encoding: [0x66,0xc1,0x6c,0x82,0x40,0x00]
829 shrw $0, 64(%rdx,%rax,4)
831 // CHECK: shrw $0, -64(%rdx,%rax,4)
832 // CHECK: encoding: [0x66,0xc1,0x6c,0x82,0xc0,0x00]
833 shrw $0, -64(%rdx,%rax,4)
835 // CHECK: shrw $0, 64(%rdx,%rax)
836 // CHECK: encoding: [0x66,0xc1,0x6c,0x02,0x40,0x00]
837 shrw $0, 64(%rdx,%rax)
839 // CHECK: shrw $0, %r14w
840 // CHECK: encoding: [0x66,0x41,0xc1,0xee,0x00]
841 shrw $0, %r14w
843 // CHECK: shrw $0, (%rdx)
844 // CHECK: encoding: [0x66,0xc1,0x2a,0x00]
845 shrw $0, (%rdx)