Disable X86 AsmMatcher for now, it is causing gcc-4.0 to run out of memory on
[oota-llvm.git] / test / MC / AsmParser / x86_instructions.s
1 // FIXME: Switch back to FileCheck once we print actual instructions
2
3 // FIXME: Disabled until the generated code stops crashing gcc 4.0.        
4 // XFAIL: *
5         
6 // RUN: llvm-mc -triple i386-unknown-unknown %s > %t
7
8 // RUN: grep {MCInst(opcode=.*, operands=.reg:2, reg:0, reg:2.)} %t
9         subb %al, %al
10
11 // RUN: grep {MCInst(opcode=.*, operands=.reg:19, reg:0, val:24.)} %t
12         addl $24, %eax
13
14 // RUN: grep {MCInst(opcode=.*, operands=.reg:20, imm:1, reg:0, val:10, reg:0, reg:19.)} %t
15         movl %eax, 10(%ebp)
16 // RUN: grep {MCInst(opcode=.*, operands=.reg:20, imm:1, reg:21, val:10, reg:0, reg:19.)} %t
17         movl %eax, 10(%ebp, %ebx)
18 // RUN: grep {MCInst(opcode=.*, operands=.reg:20, imm:4, reg:21, val:10, reg:0, reg:19.)} %t
19         movl %eax, 10(%ebp, %ebx, 4)
20 // RUN: grep {MCInst(opcode=.*, operands=.reg:0, imm:4, reg:21, val:10, reg:0, reg:19.)} %t
21         movl %eax, 10(, %ebx, 4)