1 // FIXME: Switch back to FileCheck once we print actual instructions
3 // FIXME: Disabled until the generated code stops crashing gcc 4.0.
6 // RUN: llvm-mc -triple i386-unknown-unknown %s > %t
8 // RUN: grep {MCInst(opcode=.*, operands=.reg:2, reg:0, reg:2.)} %t
11 // RUN: grep {MCInst(opcode=.*, operands=.reg:19, reg:0, val:24.)} %t
14 // RUN: grep {MCInst(opcode=.*, operands=.reg:20, imm:1, reg:0, val:10, reg:0, reg:19.)} %t
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)