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
8 // CHECK
: addl $
24, %eax
11 // CHECK
: 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
24 // FIXME
: Check that this matches SUB32ri8
25 // CHECK
: subl $
-1, %eax
28 // FIXME
: Check that this matches SUB32ri
29 // CHECK
: subl $
256, %eax
32 // FIXME
: Check that this matches XOR64ri8
33 // CHECK
: xorq $
1, %rax
36 // FIXME
: Check that this matches XOR64ri32
37 // CHECK
: xorq $
256, %rax
40 // FIXME
: Check that this matches SUB8rr
41 // CHECK
: subb
%al
, %bl
44 // FIXME
: Check that this matches SUB16rr
45 // CHECK
: subw
%ax
, %bx
48 // FIXME
: Check that this matches SUB32rr
49 // CHECK
: subl
%eax
, %ebx
52 // FIXME
: Check that this matches the correct instruction.
56 // FIXME
: Check that this matches the correct instruction.
57 // CHECK
: shldl
%cl
, %eax
, %ebx