x86/Intel: fix fallout from earlier template folding
[deliverable/binutils-gdb.git] / gas / testsuite / gas / i386 / x86-64-optimize-1.s
CommitLineData
b6f8c7c4
L
1# Check 64bit instructions with optimized encoding
2
3 .allow_index_reg
4 .text
5_start:
6 andq $foo, %rax
7 andq $((1<<31) - 1), %rax
8 andq $((1<<31) - 1), %rbx
9 andq $((1<<31) - 1), %r14
10 andq $-((1<<31)), %rax
11 andq $-((1<<31)), %rbx
12 andq $-((1<<31)), %r14
13 testq $((1<<31) - 1), %rax
14 testq $((1<<31) - 1), %rbx
15 testq $((1<<31) - 1), %r14
16 testq $-((1<<31)), %rax
17 testq $-((1<<31)), %rbx
18 testq $-((1<<31)), %r14
19 xorq (%rsi), %rax
20 xorq %rax, %rax
21 xorq %rbx, %rbx
22 xorq %r14, %r14
23 xorq %rdx, %rax
24 xorq %rdx, %rbx
25 xorq %rdx, %r14
26 subq %rax, %rax
27 subq %rbx, %rbx
28 subq %r14, %r14
29 subq %rdx, %rax
30 subq %rdx, %rbx
31 subq %rdx, %r14
32 andq $((1<<31) - 1), (%rax)
33 andq $-((1<<31)), (%rax)
34 testq $((1<<31) - 1), (%rax)
35 testq $-((1<<31)), (%rax)
36 mov $((1<<31) - 1),%rax
37 movq $((1<<31) - 1),%rax
38 mov $((1<<31) - 1),%r8
39 movq $((1<<31) - 1),%r8
40 mov $0xffffffff,%rax
41 movq $0xffffffff,%rax
42 mov $0xffffffff,%r8
43 movq $0xffffffff,%r8
44 mov $1023,%rax
45 movq $1023,%rax
46 mov $0x100000000,%rax
47 movq $0x100000000,%rax
d3d50934
L
48 clrq %rax
49 clrq %r14
This page took 0.03114 seconds and 4 git commands to generate.