Revert r354244 "[DAGCombiner] Eliminate dead stores to stack."
[llvm-complete.git] / test / MC / X86 / I386-64.s
blobccefeb8bd53b2ff753effd48b3a5c56f76d3f60b
1 // RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s
3 // CHECK: bsfl %r13d, %r13d
4 // CHECK: encoding: [0x45,0x0f,0xbc,0xed]
5 bsfl %r13d, %r13d
7 // CHECK: bsrl %r13d, %r13d
8 // CHECK: encoding: [0x45,0x0f,0xbd,0xed]
9 bsrl %r13d, %r13d
11 // CHECK: btcl $0, %r13d
12 // CHECK: encoding: [0x41,0x0f,0xba,0xfd,0x00]
13 btcl $0, %r13d
15 // CHECK: btcl %r13d, %r13d
16 // CHECK: encoding: [0x45,0x0f,0xbb,0xed]
17 btcl %r13d, %r13d
19 // CHECK: btl $0, %r13d
20 // CHECK: encoding: [0x41,0x0f,0xba,0xe5,0x00]
21 btl $0, %r13d
23 // CHECK: btl %r13d, %r13d
24 // CHECK: encoding: [0x45,0x0f,0xa3,0xed]
25 btl %r13d, %r13d
27 // CHECK: btrl $0, %r13d
28 // CHECK: encoding: [0x41,0x0f,0xba,0xf5,0x00]
29 btrl $0, %r13d
31 // CHECK: btrl %r13d, %r13d
32 // CHECK: encoding: [0x45,0x0f,0xb3,0xed]
33 btrl %r13d, %r13d
35 // CHECK: btsl $0, %r13d
36 // CHECK: encoding: [0x41,0x0f,0xba,0xed,0x00]
37 btsl $0, %r13d
39 // CHECK: btsl %r13d, %r13d
40 // CHECK: encoding: [0x45,0x0f,0xab,0xed]
41 btsl %r13d, %r13d
43 // CHECK: cltd
44 // CHECK: encoding: [0x99]
45 cltd
47 // CHECK: cmpsb %es:(%rdi), %gs:(%rsi)
48 // CHECK: encoding: [0x65,0xa6]
49 cmpsb %es:(%rdi), %gs:(%rsi)
51 // CHECK: cmpsl %es:(%rdi), %gs:(%rsi)
52 // CHECK: encoding: [0x65,0xa7]
53 cmpsl %es:(%rdi), %gs:(%rsi)
55 // CHECK: cmpsq %es:(%rdi), %gs:(%rsi)
56 // CHECK: encoding: [0x48,0x65,0xa7]
57 cmpsq %es:(%rdi), %gs:(%rsi)
59 // CHECK: cmpsw %es:(%rdi), %gs:(%rsi)
60 // CHECK: encoding: [0x66,0x65,0xa7]
61 cmpsw %es:(%rdi), %gs:(%rsi)
63 // CHECK: cwtd
64 // CHECK: encoding: [0x66,0x99]
65 cwtd
67 // CHECK: cwtl
68 // CHECK: encoding: [0x98]
69 cwtl
71 // CHECK: insb %dx, %es:(%rdi)
72 // CHECK: encoding: [0x6c]
73 insb %dx, %es:(%rdi)
75 // CHECK: insl %dx, %es:(%rdi)
76 // CHECK: encoding: [0x6d]
77 insl %dx, %es:(%rdi)
79 // CHECK: insw %dx, %es:(%rdi)
80 // CHECK: encoding: [0x66,0x6d]
81 insw %dx, %es:(%rdi)
83 // CHECK: iretl
84 // CHECK: encoding: [0xcf]
85 iretl
87 // CHECK: iretq
88 // CHECK: encoding: [0x48,0xcf]
89 iretq
91 // CHECK: iretw
92 // CHECK: encoding: [0x66,0xcf]
93 iretw
95 // CHECK: lodsl %gs:(%rsi), %eax
96 // CHECK: encoding: [0x65,0xad]
97 lodsl %gs:(%rsi), %eax
99 // CHECK: lzcntl %r13d, %r13d
100 // CHECK: encoding: [0xf3,0x45,0x0f,0xbd,0xed]
101 lzcntl %r13d, %r13d
103 // CHECK: movsb %gs:(%rsi), %es:(%rdi)
104 // CHECK: encoding: [0x65,0xa4]
105 movsb %gs:(%rsi), %es:(%rdi)
107 // CHECK: movsbl 485498096, %r13d
108 // CHECK: encoding: [0x44,0x0f,0xbe,0x2c,0x25,0xf0,0x1c,0xf0,0x1c]
109 movsbl 485498096, %r13d
111 // CHECK: movsbl 64(%rdx), %r13d
112 // CHECK: encoding: [0x44,0x0f,0xbe,0x6a,0x40]
113 movsbl 64(%rdx), %r13d
115 // CHECK: movsbl 64(%rdx,%rax,4), %r13d
116 // CHECK: encoding: [0x44,0x0f,0xbe,0x6c,0x82,0x40]
117 movsbl 64(%rdx,%rax,4), %r13d
119 // CHECK: movsbl -64(%rdx,%rax,4), %r13d
120 // CHECK: encoding: [0x44,0x0f,0xbe,0x6c,0x82,0xc0]
121 movsbl -64(%rdx,%rax,4), %r13d
123 // CHECK: movsbl 64(%rdx,%rax), %r13d
124 // CHECK: encoding: [0x44,0x0f,0xbe,0x6c,0x02,0x40]
125 movsbl 64(%rdx,%rax), %r13d
127 // CHECK: movsbl %r11b, %r13d
128 // CHECK: encoding: [0x45,0x0f,0xbe,0xeb]
129 movsbl %r11b, %r13d
131 // CHECK: movsbl %r14b, %r13d
132 // CHECK: encoding: [0x45,0x0f,0xbe,0xee]
133 movsbl %r14b, %r13d
135 // CHECK: movsbl (%rdx), %r13d
136 // CHECK: encoding: [0x44,0x0f,0xbe,0x2a]
137 movsbl (%rdx), %r13d
139 // CHECK: movsl %gs:(%rsi), %es:(%rdi)
140 // CHECK: encoding: [0x65,0xa5]
141 movsl %gs:(%rsi), %es:(%rdi)
143 // CHECK: movsq %gs:(%rsi), %es:(%rdi)
144 // CHECK: encoding: [0x48,0x65,0xa5]
145 movsq %gs:(%rsi), %es:(%rdi)
147 // CHECK: movsw %gs:(%rsi), %es:(%rdi)
148 // CHECK: encoding: [0x66,0x65,0xa5]
149 movsw %gs:(%rsi), %es:(%rdi)
151 // CHECK: movswl 485498096, %r13d
152 // CHECK: encoding: [0x44,0x0f,0xbf,0x2c,0x25,0xf0,0x1c,0xf0,0x1c]
153 movswl 485498096, %r13d
155 // CHECK: movswl 64(%rdx), %r13d
156 // CHECK: encoding: [0x44,0x0f,0xbf,0x6a,0x40]
157 movswl 64(%rdx), %r13d
159 // CHECK: movswl 64(%rdx,%rax,4), %r13d
160 // CHECK: encoding: [0x44,0x0f,0xbf,0x6c,0x82,0x40]
161 movswl 64(%rdx,%rax,4), %r13d
163 // CHECK: movswl -64(%rdx,%rax,4), %r13d
164 // CHECK: encoding: [0x44,0x0f,0xbf,0x6c,0x82,0xc0]
165 movswl -64(%rdx,%rax,4), %r13d
167 // CHECK: movswl 64(%rdx,%rax), %r13d
168 // CHECK: encoding: [0x44,0x0f,0xbf,0x6c,0x02,0x40]
169 movswl 64(%rdx,%rax), %r13d
171 // CHECK: movswl %r11w, %r13d
172 // CHECK: encoding: [0x45,0x0f,0xbf,0xeb]
173 movswl %r11w, %r13d
175 // CHECK: movswl %r14w, %r13d
176 // CHECK: encoding: [0x45,0x0f,0xbf,0xee]
177 movswl %r14w, %r13d
179 // CHECK: movswl (%rdx), %r13d
180 // CHECK: encoding: [0x44,0x0f,0xbf,0x2a]
181 movswl (%rdx), %r13d
183 // CHECK: movzbl 485498096, %r13d
184 // CHECK: encoding: [0x44,0x0f,0xb6,0x2c,0x25,0xf0,0x1c,0xf0,0x1c]
185 movzbl 485498096, %r13d
187 // CHECK: movzbl 64(%rdx), %r13d
188 // CHECK: encoding: [0x44,0x0f,0xb6,0x6a,0x40]
189 movzbl 64(%rdx), %r13d
191 // CHECK: movzbl 64(%rdx,%rax,4), %r13d
192 // CHECK: encoding: [0x44,0x0f,0xb6,0x6c,0x82,0x40]
193 movzbl 64(%rdx,%rax,4), %r13d
195 // CHECK: movzbl -64(%rdx,%rax,4), %r13d
196 // CHECK: encoding: [0x44,0x0f,0xb6,0x6c,0x82,0xc0]
197 movzbl -64(%rdx,%rax,4), %r13d
199 // CHECK: movzbl 64(%rdx,%rax), %r13d
200 // CHECK: encoding: [0x44,0x0f,0xb6,0x6c,0x02,0x40]
201 movzbl 64(%rdx,%rax), %r13d
203 // CHECK: movzbl %r11b, %r13d
204 // CHECK: encoding: [0x45,0x0f,0xb6,0xeb]
205 movzbl %r11b, %r13d
207 // CHECK: movzbl %r14b, %r13d
208 // CHECK: encoding: [0x45,0x0f,0xb6,0xee]
209 movzbl %r14b, %r13d
211 // CHECK: movzbl (%rdx), %r13d
212 // CHECK: encoding: [0x44,0x0f,0xb6,0x2a]
213 movzbl (%rdx), %r13d
215 // CHECK: movzwl 485498096, %r13d
216 // CHECK: encoding: [0x44,0x0f,0xb7,0x2c,0x25,0xf0,0x1c,0xf0,0x1c]
217 movzwl 485498096, %r13d
219 // CHECK: movzwl 64(%rdx), %r13d
220 // CHECK: encoding: [0x44,0x0f,0xb7,0x6a,0x40]
221 movzwl 64(%rdx), %r13d
223 // CHECK: movzwl 64(%rdx,%rax,4), %r13d
224 // CHECK: encoding: [0x44,0x0f,0xb7,0x6c,0x82,0x40]
225 movzwl 64(%rdx,%rax,4), %r13d
227 // CHECK: movzwl -64(%rdx,%rax,4), %r13d
228 // CHECK: encoding: [0x44,0x0f,0xb7,0x6c,0x82,0xc0]
229 movzwl -64(%rdx,%rax,4), %r13d
231 // CHECK: movzwl 64(%rdx,%rax), %r13d
232 // CHECK: encoding: [0x44,0x0f,0xb7,0x6c,0x02,0x40]
233 movzwl 64(%rdx,%rax), %r13d
235 // CHECK: movzwl %r11w, %r13d
236 // CHECK: encoding: [0x45,0x0f,0xb7,0xeb]
237 movzwl %r11w, %r13d
239 // CHECK: movzwl %r14w, %r13d
240 // CHECK: encoding: [0x45,0x0f,0xb7,0xee]
241 movzwl %r14w, %r13d
243 // CHECK: movzwl (%rdx), %r13d
244 // CHECK: encoding: [0x44,0x0f,0xb7,0x2a]
245 movzwl (%rdx), %r13d
247 // CHECK: outsb %gs:(%rsi), %dx
248 // CHECK: encoding: [0x65,0x6e]
249 outsb %gs:(%rsi), %dx
251 // CHECK: outsl %gs:(%rsi), %dx
252 // CHECK: encoding: [0x65,0x6f]
253 outsl %gs:(%rsi), %dx
255 // CHECK: outsw %gs:(%rsi), %dx
256 // CHECK: encoding: [0x66,0x65,0x6f]
257 outsw %gs:(%rsi), %dx
259 // CHECK: rep cmpsb %es:(%rdi), %gs:(%rsi)
260 // CHECK: encoding: [0xf3,0x65,0xa6]
261 rep cmpsb %es:(%rdi), %gs:(%rsi)
263 // CHECK: rep cmpsl %es:(%rdi), %gs:(%rsi)
264 // CHECK: encoding: [0xf3,0x65,0xa7]
265 rep cmpsl %es:(%rdi), %gs:(%rsi)
267 // CHECK: rep cmpsq %es:(%rdi), %gs:(%rsi)
268 // CHECK: encoding: [0xf3,0x48,0x65,0xa7]
269 rep cmpsq %es:(%rdi), %gs:(%rsi)
271 // CHECK: rep cmpsw %es:(%rdi), %gs:(%rsi)
272 // CHECK: encoding: [0xf3,0x66,0x65,0xa7]
273 rep cmpsw %es:(%rdi), %gs:(%rsi)
275 // CHECK: rep insb %dx, %es:(%rdi)
276 // CHECK: encoding: [0xf3,0x6c]
277 rep insb %dx, %es:(%rdi)
279 // CHECK: rep insl %dx, %es:(%rdi)
280 // CHECK: encoding: [0xf3,0x6d]
281 rep insl %dx, %es:(%rdi)
283 // CHECK: rep insw %dx, %es:(%rdi)
284 // CHECK: encoding: [0xf3,0x66,0x6d]
285 rep insw %dx, %es:(%rdi)
287 // CHECK: rep lodsl %gs:(%rsi), %eax
288 // CHECK: encoding: [0xf3,0x65,0xad]
289 rep lodsl %gs:(%rsi), %eax
291 // CHECK: rep movsb %gs:(%rsi), %es:(%rdi)
292 // CHECK: encoding: [0xf3,0x65,0xa4]
293 rep movsb %gs:(%rsi), %es:(%rdi)
295 // CHECK: rep movsl %gs:(%rsi), %es:(%rdi)
296 // CHECK: encoding: [0xf3,0x65,0xa5]
297 rep movsl %gs:(%rsi), %es:(%rdi)
299 // CHECK: rep movsq %gs:(%rsi), %es:(%rdi)
300 // CHECK: encoding: [0xf3,0x48,0x65,0xa5]
301 rep movsq %gs:(%rsi), %es:(%rdi)
303 // CHECK: rep movsw %gs:(%rsi), %es:(%rdi)
304 // CHECK: encoding: [0xf3,0x66,0x65,0xa5]
305 rep movsw %gs:(%rsi), %es:(%rdi)
307 // CHECK: repne cmpsb %es:(%rdi), %gs:(%rsi)
308 // CHECK: encoding: [0xf2,0x65,0xa6]
309 repne cmpsb %es:(%rdi), %gs:(%rsi)
311 // CHECK: repne cmpsl %es:(%rdi), %gs:(%rsi)
312 // CHECK: encoding: [0xf2,0x65,0xa7]
313 repne cmpsl %es:(%rdi), %gs:(%rsi)
315 // CHECK: repne cmpsq %es:(%rdi), %gs:(%rsi)
316 // CHECK: encoding: [0xf2,0x48,0x65,0xa7]
317 repne cmpsq %es:(%rdi), %gs:(%rsi)
319 // CHECK: repne cmpsw %es:(%rdi), %gs:(%rsi)
320 // CHECK: encoding: [0xf2,0x66,0x65,0xa7]
321 repne cmpsw %es:(%rdi), %gs:(%rsi)
323 // CHECK: repne insb %dx, %es:(%rdi)
324 // CHECK: encoding: [0xf2,0x6c]
325 repne insb %dx, %es:(%rdi)
327 // CHECK: repne insl %dx, %es:(%rdi)
328 // CHECK: encoding: [0xf2,0x6d]
329 repne insl %dx, %es:(%rdi)
331 // CHECK: repne insw %dx, %es:(%rdi)
332 // CHECK: encoding: [0xf2,0x66,0x6d]
333 repne insw %dx, %es:(%rdi)
335 // CHECK: repne lodsl %gs:(%rsi), %eax
336 // CHECK: encoding: [0xf2,0x65,0xad]
337 repne lodsl %gs:(%rsi), %eax
339 // CHECK: repne movsb %gs:(%rsi), %es:(%rdi)
340 // CHECK: encoding: [0xf2,0x65,0xa4]
341 repne movsb %gs:(%rsi), %es:(%rdi)
343 // CHECK: repne movsl %gs:(%rsi), %es:(%rdi)
344 // CHECK: encoding: [0xf2,0x65,0xa5]
345 repne movsl %gs:(%rsi), %es:(%rdi)
347 // CHECK: repne movsq %gs:(%rsi), %es:(%rdi)
348 // CHECK: encoding: [0xf2,0x48,0x65,0xa5]
349 repne movsq %gs:(%rsi), %es:(%rdi)
351 // CHECK: repne movsw %gs:(%rsi), %es:(%rdi)
352 // CHECK: encoding: [0xf2,0x66,0x65,0xa5]
353 repne movsw %gs:(%rsi), %es:(%rdi)
355 // CHECK: repne outsb %gs:(%rsi), %dx
356 // CHECK: encoding: [0xf2,0x65,0x6e]
357 repne outsb %gs:(%rsi), %dx
359 // CHECK: repne outsl %gs:(%rsi), %dx
360 // CHECK: encoding: [0xf2,0x65,0x6f]
361 repne outsl %gs:(%rsi), %dx
363 // CHECK: repne outsw %gs:(%rsi), %dx
364 // CHECK: encoding: [0xf2,0x66,0x65,0x6f]
365 repne outsw %gs:(%rsi), %dx
367 // CHECK: repne scasl %es:(%rdi), %eax
368 // CHECK: encoding: [0xf2,0xaf]
369 repne scasl %es:(%rdi), %eax
371 // CHECK: repne stosl %eax, %es:(%rdi)
372 // CHECK: encoding: [0xf2,0xab]
373 repne stosl %eax, %es:(%rdi)
375 // CHECK: rep outsb %gs:(%rsi), %dx
376 // CHECK: encoding: [0xf3,0x65,0x6e]
377 rep outsb %gs:(%rsi), %dx
379 // CHECK: rep outsl %gs:(%rsi), %dx
380 // CHECK: encoding: [0xf3,0x65,0x6f]
381 rep outsl %gs:(%rsi), %dx
383 // CHECK: rep outsw %gs:(%rsi), %dx
384 // CHECK: encoding: [0xf3,0x66,0x65,0x6f]
385 rep outsw %gs:(%rsi), %dx
387 // CHECK: rep scasl %es:(%rdi), %eax
388 // CHECK: encoding: [0xf3,0xaf]
389 rep scasl %es:(%rdi), %eax
391 // CHECK: rep stosl %eax, %es:(%rdi)
392 // CHECK: encoding: [0xf3,0xab]
393 rep stosl %eax, %es:(%rdi)
395 // CHECK: scasl %es:(%rdi), %eax
396 // CHECK: encoding: [0xaf]
397 scasl %es:(%rdi), %eax
399 // CHECK: seta 485498096
400 // CHECK: encoding: [0x0f,0x97,0x04,0x25,0xf0,0x1c,0xf0,0x1c]
401 seta 485498096
403 // CHECK: seta 64(%rdx)
404 // CHECK: encoding: [0x0f,0x97,0x42,0x40]
405 seta 64(%rdx)
407 // CHECK: seta 64(%rdx,%rax,4)
408 // CHECK: encoding: [0x0f,0x97,0x44,0x82,0x40]
409 seta 64(%rdx,%rax,4)
411 // CHECK: seta -64(%rdx,%rax,4)
412 // CHECK: encoding: [0x0f,0x97,0x44,0x82,0xc0]
413 seta -64(%rdx,%rax,4)
415 // CHECK: seta 64(%rdx,%rax)
416 // CHECK: encoding: [0x0f,0x97,0x44,0x02,0x40]
417 seta 64(%rdx,%rax)
419 // CHECK: setae 485498096
420 // CHECK: encoding: [0x0f,0x93,0x04,0x25,0xf0,0x1c,0xf0,0x1c]
421 setae 485498096
423 // CHECK: setae 64(%rdx)
424 // CHECK: encoding: [0x0f,0x93,0x42,0x40]
425 setae 64(%rdx)
427 // CHECK: setae 64(%rdx,%rax,4)
428 // CHECK: encoding: [0x0f,0x93,0x44,0x82,0x40]
429 setae 64(%rdx,%rax,4)
431 // CHECK: setae -64(%rdx,%rax,4)
432 // CHECK: encoding: [0x0f,0x93,0x44,0x82,0xc0]
433 setae -64(%rdx,%rax,4)
435 // CHECK: setae 64(%rdx,%rax)
436 // CHECK: encoding: [0x0f,0x93,0x44,0x02,0x40]
437 setae 64(%rdx,%rax)
439 // CHECK: setae %r14b
440 // CHECK: encoding: [0x41,0x0f,0x93,0xc6]
441 setae %r14b
443 // CHECK: setae (%rdx)
444 // CHECK: encoding: [0x0f,0x93,0x02]
445 setae (%rdx)
447 // CHECK: seta %r14b
448 // CHECK: encoding: [0x41,0x0f,0x97,0xc6]
449 seta %r14b
451 // CHECK: seta (%rdx)
452 // CHECK: encoding: [0x0f,0x97,0x02]
453 seta (%rdx)
455 // CHECK: setb 485498096
456 // CHECK: encoding: [0x0f,0x92,0x04,0x25,0xf0,0x1c,0xf0,0x1c]
457 setb 485498096
459 // CHECK: setb 64(%rdx)
460 // CHECK: encoding: [0x0f,0x92,0x42,0x40]
461 setb 64(%rdx)
463 // CHECK: setb 64(%rdx,%rax,4)
464 // CHECK: encoding: [0x0f,0x92,0x44,0x82,0x40]
465 setb 64(%rdx,%rax,4)
467 // CHECK: setb -64(%rdx,%rax,4)
468 // CHECK: encoding: [0x0f,0x92,0x44,0x82,0xc0]
469 setb -64(%rdx,%rax,4)
471 // CHECK: setb 64(%rdx,%rax)
472 // CHECK: encoding: [0x0f,0x92,0x44,0x02,0x40]
473 setb 64(%rdx,%rax)
475 // CHECK: setbe 485498096
476 // CHECK: encoding: [0x0f,0x96,0x04,0x25,0xf0,0x1c,0xf0,0x1c]
477 setbe 485498096
479 // CHECK: setbe 64(%rdx)
480 // CHECK: encoding: [0x0f,0x96,0x42,0x40]
481 setbe 64(%rdx)
483 // CHECK: setbe 64(%rdx,%rax,4)
484 // CHECK: encoding: [0x0f,0x96,0x44,0x82,0x40]
485 setbe 64(%rdx,%rax,4)
487 // CHECK: setbe -64(%rdx,%rax,4)
488 // CHECK: encoding: [0x0f,0x96,0x44,0x82,0xc0]
489 setbe -64(%rdx,%rax,4)
491 // CHECK: setbe 64(%rdx,%rax)
492 // CHECK: encoding: [0x0f,0x96,0x44,0x02,0x40]
493 setbe 64(%rdx,%rax)
495 // CHECK: setbe %r14b
496 // CHECK: encoding: [0x41,0x0f,0x96,0xc6]
497 setbe %r14b
499 // CHECK: setbe (%rdx)
500 // CHECK: encoding: [0x0f,0x96,0x02]
501 setbe (%rdx)
503 // CHECK: setb %r14b
504 // CHECK: encoding: [0x41,0x0f,0x92,0xc6]
505 setb %r14b
507 // CHECK: setb (%rdx)
508 // CHECK: encoding: [0x0f,0x92,0x02]
509 setb (%rdx)
511 // CHECK: sete 485498096
512 // CHECK: encoding: [0x0f,0x94,0x04,0x25,0xf0,0x1c,0xf0,0x1c]
513 sete 485498096
515 // CHECK: sete 64(%rdx)
516 // CHECK: encoding: [0x0f,0x94,0x42,0x40]
517 sete 64(%rdx)
519 // CHECK: sete 64(%rdx,%rax,4)
520 // CHECK: encoding: [0x0f,0x94,0x44,0x82,0x40]
521 sete 64(%rdx,%rax,4)
523 // CHECK: sete -64(%rdx,%rax,4)
524 // CHECK: encoding: [0x0f,0x94,0x44,0x82,0xc0]
525 sete -64(%rdx,%rax,4)
527 // CHECK: sete 64(%rdx,%rax)
528 // CHECK: encoding: [0x0f,0x94,0x44,0x02,0x40]
529 sete 64(%rdx,%rax)
531 // CHECK: sete %r14b
532 // CHECK: encoding: [0x41,0x0f,0x94,0xc6]
533 sete %r14b
535 // CHECK: sete (%rdx)
536 // CHECK: encoding: [0x0f,0x94,0x02]
537 sete (%rdx)
539 // CHECK: setg 485498096
540 // CHECK: encoding: [0x0f,0x9f,0x04,0x25,0xf0,0x1c,0xf0,0x1c]
541 setg 485498096
543 // CHECK: setg 64(%rdx)
544 // CHECK: encoding: [0x0f,0x9f,0x42,0x40]
545 setg 64(%rdx)
547 // CHECK: setg 64(%rdx,%rax,4)
548 // CHECK: encoding: [0x0f,0x9f,0x44,0x82,0x40]
549 setg 64(%rdx,%rax,4)
551 // CHECK: setg -64(%rdx,%rax,4)
552 // CHECK: encoding: [0x0f,0x9f,0x44,0x82,0xc0]
553 setg -64(%rdx,%rax,4)
555 // CHECK: setg 64(%rdx,%rax)
556 // CHECK: encoding: [0x0f,0x9f,0x44,0x02,0x40]
557 setg 64(%rdx,%rax)
559 // CHECK: setge 485498096
560 // CHECK: encoding: [0x0f,0x9d,0x04,0x25,0xf0,0x1c,0xf0,0x1c]
561 setge 485498096
563 // CHECK: setge 64(%rdx)
564 // CHECK: encoding: [0x0f,0x9d,0x42,0x40]
565 setge 64(%rdx)
567 // CHECK: setge 64(%rdx,%rax,4)
568 // CHECK: encoding: [0x0f,0x9d,0x44,0x82,0x40]
569 setge 64(%rdx,%rax,4)
571 // CHECK: setge -64(%rdx,%rax,4)
572 // CHECK: encoding: [0x0f,0x9d,0x44,0x82,0xc0]
573 setge -64(%rdx,%rax,4)
575 // CHECK: setge 64(%rdx,%rax)
576 // CHECK: encoding: [0x0f,0x9d,0x44,0x02,0
577 setge 64(%rdx,%rax)
579 // CHECK: setge 64(%rdx,%rax)
580 // CHECK: encoding: [0x0f,0x9d,0x44,0x02,0x40]
581 setge 64(%rdx,%rax)
583 // CHECK: setge %r14b
584 // CHECK: encoding: [0x41,0x0f,0x9d,0xc6]
585 setge %r14b
587 // CHECK: setge (%rdx)
588 // CHECK: encoding: [0x0f,0x9d,0x02]
589 setge (%rdx)
591 // CHECK: setg %r14b
592 // CHECK: encoding: [0x41,0x0f,0x9f,0xc6]
593 setg %r14b
595 // CHECK: setg (%rdx)
596 // CHECK: encoding: [0x0f,0x9f,0x02]
597 setg (%rdx)
599 // CHECK: setl 485498096
600 // CHECK: encoding: [0x0f,0x9c,0x04,0x25,0xf0,0x1c,0xf0,0x1c]
601 setl 485498096
603 // CHECK: setl 64(%rdx)
604 // CHECK: encoding: [0x0f,0x9c,0x42,0x40]
605 setl 64(%rdx)
607 // CHECK: setl 64(%rdx,%rax,4)
608 // CHECK: encoding: [0x0f,0x9c,0x44,0x82,0x40]
609 setl 64(%rdx,%rax,4)
611 // CHECK: setl -64(%rdx,%rax,4)
612 // CHECK: encoding: [0x0f,0x9c,0x44,0x82,0xc0]
613 setl -64(%rdx,%rax,4)
615 // CHECK: setl 64(%rdx,%rax)
616 // CHECK: encoding: [0x0f,0x9c,0x44,0x02,0x40]
617 setl 64(%rdx,%rax)
619 // CHECK: setle 485498096
620 // CHECK: encoding: [0x0f,0x9e,0x04,0x25,0xf0,0x1c,0xf0,0x1c]
621 setle 485498096
623 // CHECK: setle 64(%rdx)
624 // CHECK: encoding: [0x0f,0x9e,0x42,0x40]
625 setle 64(%rdx)
627 // CHECK: setle 64(%rdx,%rax,4)
628 // CHECK: encoding: [0x0f,0x9e,0x44,0x82,0x40]
629 setle 64(%rdx,%rax,4)
631 // CHECK: setle -64(%rdx,%rax,4)
632 // CHECK: encoding: [0x0f,0x9e,0x44,0x82,0xc0]
633 setle -64(%rdx,%rax,4)
635 // CHECK: setle 64(%rdx,%rax)
636 // CHECK: encoding: [0x0f,0x9e,0x44,0x02,0x40]
637 setle 64(%rdx,%rax)
639 // CHECK: setle %r14b
640 // CHECK: encoding: [0x41,0x0f,0x9e,0xc6]
641 setle %r14b
643 // CHECK: setle (%rdx)
644 // CHECK: encoding: [0x0f,0x9e,0x02]
645 setle (%rdx)
647 // CHECK: setl %r14b
648 // CHECK: encoding: [0x41,0x0f,0x9c,0xc6]
649 setl %r14b
651 // CHECK: setl (%rdx)
652 // CHECK: encoding: [0x0f,0x9c,0x02]
653 setl (%rdx)
655 // CHECK: setne 485498096
656 // CHECK: encoding: [0x0f,0x95,0x04,0x25,0xf0,0x1c,0xf0,0x1c]
657 setne 485498096
659 // CHECK: setne 64(%rdx)
660 // CHECK: encoding: [0x0f,0x95,0x42,0x40]
661 setne 64(%rdx)
663 // CHECK: setne 64(%rdx,%rax,4)
664 // CHECK: encoding: [0x0f,0x95,0x44,0x82,0x40]
665 setne 64(%rdx,%rax,4)
667 // CHECK: setne -64(%rdx,%rax,4)
668 // CHECK: encoding: [0x0f,0x95,0x44,0x82,0xc0]
669 setne -64(%rdx,%rax,4)
671 // CHECK: setne 64(%rdx,%rax)
672 // CHECK: encoding: [0x0f,0x95,0x44,0x02,0x40]
673 setne 64(%rdx,%rax)
675 // CHECK: setne %r14b
676 // CHECK: encoding: [0x41,0x0f,0x95,0xc6]
677 setne %r14b
679 // CHECK: setne (%rdx)
680 // CHECK: encoding: [0x0f,0x95,0x02]
681 setne (%rdx)
683 // CHECK: setno 485498096
684 // CHECK: encoding: [0x0f,0x91,0x04,0x25,0xf0,0x1c,0xf0,0x1c]
685 setno 485498096
687 // CHECK: setno 64(%rdx)
688 // CHECK: encoding: [0x0f,0x91,0x42,0x40]
689 setno 64(%rdx)
691 // CHECK: setno 64(%rdx,%rax,4)
692 // CHECK: encoding: [0x0f,0x91,0x44,0x82,0x40]
693 setno 64(%rdx,%rax,4)
695 // CHECK: setno -64(%rdx,%rax,4)
696 // CHECK: encoding: [0x0f,0x91,0x44,0x82,0xc0]
697 setno -64(%rdx,%rax,4)
699 // CHECK: setno 64(%rdx,%rax)
700 // CHECK: encoding: [0x0f,0x91,0x44,0x02,0x40]
701 setno 64(%rdx,%rax)
703 // CHECK: setno %r14b
704 // CHECK: encoding: [0x41,0x0f,0x91,0xc6]
705 setno %r14b
707 // CHECK: setno (%rdx)
708 // CHECK: encoding: [0x0f,0x91,0x02]
709 setno (%rdx)
711 // CHECK: setnp 485498096
712 // CHECK: encoding: [0x0f,0x9b,0x04,0x25,0xf0,0x1c,0xf0,0x1c]
713 setnp 485498096
715 // CHECK: setnp 64(%rdx)
716 // CHECK: encoding: [0x0f,0x9b,0x42,0x40]
717 setnp 64(%rdx)
719 // CHECK: setnp 64(%rdx,%rax,4)
720 // CHECK: encoding: [0x0f,0x9b,0x44,0x82,0x40]
721 setnp 64(%rdx,%rax,4)
723 // CHECK: setnp -64(%rdx,%rax,4)
724 // CHECK: encoding: [0x0f,0x9b,0x44,0x82,0xc0]
725 setnp -64(%rdx,%rax,4)
727 // CHECK: setnp 64(%rdx,%rax)
728 // CHECK: encoding: [0x0f,0x9b,0x44,0x02,0x40]
729 setnp 64(%rdx,%rax)
731 // CHECK: setnp %r14b
732 // CHECK: encoding: [0x41,0x0f,0x9b,0xc6]
733 setnp %r14b
735 // CHECK: setnp (%rdx)
736 // CHECK: encoding: [0x0f,0x9b,0x02]
737 setnp (%rdx)
739 // CHECK: setns 485498096
740 // CHECK: encoding: [0x0f,0x99,0x04,0x25,0xf0,0x1c,0xf0,0x1c]
741 setns 485498096
743 // CHECK: setns 64(%rdx)
744 // CHECK: encoding: [0x0f,0x99,0x42,0x40]
745 setns 64(%rdx)
747 // CHECK: setns 64(%rdx,%rax,4)
748 // CHECK: encoding: [0x0f,0x99,0x44,0x82,0x40]
749 setns 64(%rdx,%rax,4)
751 // CHECK: setns -64(%rdx,%rax,4)
752 // CHECK: encoding: [0x0f,0x99,0x44,0x82,0xc0]
753 setns -64(%rdx,%rax,4)
755 // CHECK: setns 64(%rdx,%rax)
756 // CHECK: encoding: [0x0f,0x99,0x44,0x02,0x40]
757 setns 64(%rdx,%rax)
759 // CHECK: setns %r14b
760 // CHECK: encoding: [0x41,0x0f,0x99,0xc6]
761 setns %r14b
763 // CHECK: setns (%rdx)
764 // CHECK: encoding: [0x0f,0x99,0x02]
765 setns (%rdx)
767 // CHECK: seto 485498096
768 // CHECK: encoding: [0x0f,0x90,0x04,0x25,0xf0,0x1c,0xf0,0x1c]
769 seto 485498096
771 // CHECK: seto 64(%rdx)
772 // CHECK: encoding: [0x0f,0x90,0x42,0x40]
773 seto 64(%rdx)
775 // CHECK: seto 64(%rdx,%rax,4)
776 // CHECK: encoding: [0x0f,0x90,0x44,0x82,0x40]
777 seto 64(%rdx,%rax,4)
779 // CHECK: seto -64(%rdx,%rax,4)
780 // CHECK: encoding: [0x0f,0x90,0x44,0x82,0xc0]
781 seto -64(%rdx,%rax,4)
783 // CHECK: seto 64(%rdx,%rax)
784 // CHECK: encoding: [0x0f,0x90,0x44,0x02,0x40]
785 seto 64(%rdx,%rax)
787 // CHECK: seto %r14b
788 // CHECK: encoding: [0x41,0x0f,0x90,0xc6]
789 seto %r14b
791 // CHECK: seto (%rdx)
792 // CHECK: encoding: [0x0f,0x90,0x02]
793 seto (%rdx)
795 // CHECK: setp 485498096
796 // CHECK: encoding: [0x0f,0x9a,0x04,0x25,0xf0,0x1c,0xf0,0x1c]
797 setp 485498096
799 // CHECK: setp 64(%rdx)
800 // CHECK: encoding: [0x0f,0x9a,0x42,0x40]
801 setp 64(%rdx)
803 // CHECK: setp 64(%rdx,%rax,4)
804 // CHECK: encoding: [0x0f,0x9a,0x44,0x82,0x40]
805 setp 64(%rdx,%rax,4)
807 // CHECK: setp -64(%rdx,%rax,4)
808 // CHECK: encoding: [0x0f,0x9a,0x44,0x82,0xc0]
809 setp -64(%rdx,%rax,4)
811 // CHECK: setp 64(%rdx,%rax)
812 // CHECK: encoding: [0x0f,0x9a,0x44,0x02,0x40]
813 setp 64(%rdx,%rax)
815 // CHECK: setp %r14b
816 // CHECK: encoding: [0x41,0x0f,0x9a,0xc6]
817 setp %r14b
819 // CHECK: setp (%rdx)
820 // CHECK: encoding: [0x0f,0x9a,0x02]
821 setp (%rdx)
823 // CHECK: sets 485498096
824 // CHECK: encoding: [0x0f,0x98,0x04,0x25,0xf0,0x1c,0xf0,0x1c]
825 sets 485498096
827 // CHECK: sets 64(%rdx)
828 // CHECK: encoding: [0x0f,0x98,0x42,0x40]
829 sets 64(%rdx)
831 // CHECK: sets 64(%rdx,%rax,4)
832 // CHECK: encoding: [0x0f,0x98,0x44,0x82,0x40]
833 sets 64(%rdx,%rax,4)
835 // CHECK: sets -64(%rdx,%rax,4)
836 // CHECK: encoding: [0x0f,0x98,0x44,0x82,0xc0]
837 sets -64(%rdx,%rax,4)
839 // CHECK: sets 64(%rdx,%rax)
840 // CHECK: encoding: [0x0f,0x98,0x44,0x02,0x40]
841 sets 64(%rdx,%rax)
843 // CHECK: sets %r14b
844 // CHECK: encoding: [0x41,0x0f,0x98,0xc6]
845 sets %r14b
847 // CHECK: sets (%rdx)
848 // CHECK: encoding: [0x0f,0x98,0x02]
849 sets (%rdx)
851 // CHECK: shldl $0, %r13d, %r13d
852 // CHECK: encoding: [0x45,0x0f,0xa4,0xed,0x00]
853 shldl $0, %r13d, %r13d
855 // CHECK: shldl %cl, %r13d, %r13d
856 // CHECK: encoding: [0x45,0x0f,0xa5,0xed]
857 shldl %cl, %r13d, %r13d
859 // CHECK: shrdl $0, %r13d, %r13d
860 // CHECK: encoding: [0x45,0x0f,0xac,0xed,0x00]
861 shrdl $0, %r13d, %r13d
863 // CHECK: shrdl %cl, %r13d, %r13d
864 // CHECK: encoding: [0x45,0x0f,0xad,0xed]
865 shrdl %cl, %r13d, %r13d
867 // CHECK: stosl %eax, %es:(%rdi)
868 // CHECK: encoding: [0xab]
869 stosl %eax, %es:(%rdi)
871 // CHECK: tzcntl %r13d, %r13d
872 // CHECK: encoding: [0xf3,0x45,0x0f,0xbc,0xed]
873 tzcntl %r13d, %r13d