1 # RUN: rm -rf %t && split-file %s %t && cd %t
2 # RUN: llvm-mc -triple i386 a.s | FileCheck %s
3 # RUN: llvm-mc -triple i386 b.s | FileCheck %s --check-prefix=CHECK2
17 # CHECK: addl $10, %eax
18 # CHECK-NEXT: addl $20, %eax
20 # CHECK: addl $11, %eax
21 # CHECK-NEXT: addl $21, %eax
23 # CHECK: subl $12, %eax
24 # CHECK-NEXT: subl $20, %eax
26 # CHECK: subl $13, %eax
27 # CHECK-NEXT: subl $21, %eax
29 # The following uses of \@ are undocumented, but valid:
33 # CHECK: addl $24, %eax
34 # CHECK-NEXT: addl $34, %eax
35 # CHECK-NEXT: addl $44, %eax
40 # CHECK: subl $24, %eax
41 # CHECK-NEXT: subl $24, %ebx
43 # Test that .irp(c) and .rep(t) do not increase \@.
44 # Only the use of A should increase \@, so we can test that it increases by 1
52 # CHECK: addl $14, %eax
59 # CHECK: addl $15, %eax
66 # CHECK: addl $16, %eax
73 # CHECK: addl $17, %eax