1 // FIXME
: Actually test that we get the expected results.
3 // RUN
: llvm-mc
-triple i386-unknown-unknown
%s | FileCheck
%s
8 # CHECK: addl $1+2, %eax
10 # CHECK: addl $a, %eax
12 # CHECK: addl $1+2, %eax
17 # FIXME: Add back when we can match this.
19 # FIXME: Add back when we can match this.
21 # CHECK: addl $1, 4+4(%eax)
23 # CHECK: addl $1, 4+4(%eax)
25 # CHECK: addl $1, 8(%eax)
27 # CHECK: addl $1, 0(%eax)
29 # CHECK: addl $1, 4+4(,%eax)
32 # Indirect Memory Operands
33 # CHECK: addl $1, 1(%eax)
35 # CHECK: addl $1, 1(%eax,%ebx)
37 # CHECK: addl $1, 1(%eax,%ebx)
38 addl $
1, 1(%eax
,%ebx
,)
39 # CHECK: addl $1, 1(%eax,%ebx,4)
40 addl $
1, 1(%eax
,%ebx
,4)
41 # CHECK: addl $1, 1(,%ebx)
43 # CHECK: addl $1, 1(,%ebx)
45 # CHECK: addl $1, 1(,%ebx,4)
47 # CHECK: addl $1, 1(,%ebx,4)
48 addl $
1, 1(,%ebx
,(2+2))
55 # CHECK: call *4(%eax)