Mark EH_RETURN64 as CodeGenOnly.
[oota-llvm.git] / test / MC / AsmParser / X86 / x86_instructions.s
1 // FIXME: Switch back to FileCheck once we print actual instructions
2         
3 // RUN: llvm-mc -triple x86_64-unknown-unknown %s | FileCheck %s
4
5 // CHECK: subb %al, %al
6         subb %al, %al
7
8 // CHECK: addl $24, %eax
9         addl $24, %eax
10
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)
19 // CHECK: ret
20         ret
21         
22 // FIXME: Check that this matches SUB32ri8
23 // CHECK: subl $1, %eax
24         subl $1, %eax
25         
26 // FIXME: Check that this matches SUB32ri8
27 // CHECK: subl $-1, %eax
28         subl $-1, %eax
29         
30 // FIXME: Check that this matches SUB32ri
31 // CHECK: subl $256, %eax
32         subl $256, %eax
33
34 // FIXME: Check that this matches XOR64ri8
35 // CHECK: xorq $1, %rax
36         xorq $1, %rax
37         
38 // FIXME: Check that this matches XOR64ri32
39 // CHECK: xorq $256, %rax
40         xorq $256, %rax
41
42 // FIXME: Check that this matches SUB8rr
43 // CHECK: subb %al, %bl
44         subb %al, %bl
45
46 // FIXME: Check that this matches SUB16rr
47 // CHECK: subw %ax, %bx
48         subw %ax, %bx
49         
50 // FIXME: Check that this matches SUB32rr
51 // CHECK: subl %eax, %ebx
52         subl %eax, %ebx
53         
54 // FIXME: Check that this matches the correct instruction.
55 // CHECK: call *%rax
56         call *%rax
57
58 // FIXME: Check that this matches the correct instruction.
59 // CHECK: shldl %cl, %eax, %ebx
60         shldl %cl, %eax, %ebx