[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / X86 / AlignedBundling / misaligned-bundle.s
blob21e911d1ba1e5d15747d02f5797656524a156297
1 # RUN: llvm-mc -filetype=obj -triple i686-pc-linux-gnu -mcpu=pentiumpro %s -o - \
2 # RUN: | llvm-objdump -disassemble -no-show-raw-insn - \
3 # RUN: | FileCheck -check-prefix=CHECK -check-prefix=CHECK-OPT %s
4 # RUN: llvm-mc -filetype=obj -triple i686-pc-linux-gnu -mcpu=pentiumpro -mc-relax-all %s -o - \
5 # RUN: | llvm-objdump -disassemble -no-show-raw-insn - \
6 # RUN: | FileCheck -check-prefix=CHECK -check-prefix=CHECK-RELAX %s
8 .text
9 foo:
10 .bundle_align_mode 5
11 push %ebp # 1 byte
12 .align 16
13 # CHECK: 1: nopw %cs:(%eax,%eax)
14 # CHECK-RELAX: 10: nopw %cs:(%eax,%eax)
15 # CHECK-RELAX: 1a: nop
16 # CHECK-OPT: 10: movl $1, (%esp)
17 # CHECK-RELAX: 20: movl $1, (%esp)
18 movl $0x1, (%esp) # 7 bytes
19 movl $0x1, (%esp) # 7 bytes
20 # CHECK-OPT: 1e: nop
21 movl $0x2, 0x1(%esp) # 8 bytes
22 movl $0x2, 0x1(%esp) # 8 bytes
23 # CHECK-RELAX: 3e: nop
24 # CHECK-RELAX: 40: movl $2, 1(%esp)
25 movl $0x2, 0x1(%esp) # 8 bytes
26 movl $0x2, (%esp) # 7 bytes
27 # CHECK-OPT: 3f: nop
28 # CHECK-OPT: 40: movl $3, (%esp)
29 movl $0x3, (%esp) # 7 bytes
30 movl $0x3, (%esp) # 7 bytes
31 ret