remove a dead bool.
[llvm/avr.git] / test / MC / AsmParser / x86_instructions.s
blob4c5b698d3fc60a09660c7a9a96b40020200f1c40
1 // FIXME: Switch back to FileCheck once we print actual instructions
3 // RUN: llvm-mc -triple x86_64-unknown-unknown %s | FileCheck %s
5 // CHECK: subb %al, %al
6 subb %al, %al
8 // CHECK: addl $24, %eax
9 addl $24, %eax
11 // CHECK: movl %eax, 10(%ebp)
12 movl %eax, 10(%ebp)
13 // CHECK: movl %eax, 10(%ebp,%ebx)
14 movl %eax, 10(%ebp, %ebx)
15 // CHECK: movl %eax, 10(%ebp,%ebx,4)
16 movl %eax, 10(%ebp, %ebx, 4)
17 // CHECK: movl %eax, 10(,%ebx,4)
18 movl %eax, 10(, %ebx, 4)
20 // FIXME: Check that this matches SUB32ri8
21 // CHECK: subl $1, %eax
22 subl $1, %eax
24 // FIXME: Check that this matches SUB32ri8
25 // CHECK: subl $-1, %eax
26 subl $-1, %eax
28 // FIXME: Check that this matches SUB32ri
29 // CHECK: subl $256, %eax
30 subl $256, %eax
32 // FIXME: Check that this matches XOR64ri8
33 // CHECK: xorq $1, %rax
34 xorq $1, %rax
36 // FIXME: Check that this matches XOR64ri32
37 // CHECK: xorq $256, %rax
38 xorq $256, %rax
40 // FIXME: Check that this matches SUB8rr
41 // CHECK: subb %al, %bl
42 subb %al, %bl
44 // FIXME: Check that this matches SUB16rr
45 // CHECK: subw %ax, %bx
46 subw %ax, %bx
48 // FIXME: Check that this matches SUB32rr
49 // CHECK: subl %eax, %ebx
50 subl %eax, %ebx
52 // FIXME: Check that this matches the correct instruction.
53 // CHECK: call *%rax
54 call *%rax
56 // FIXME: Check that this matches the correct instruction.
57 // CHECK: shldl %cl, %eax, %ebx
58 shldl %cl, %eax, %ebx