[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / X86 / AlignedBundling / misaligned-bundle-group.s
blob74a64739d51b11d1f4c5bab9fc589a2829d8803b
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 .bundle_lock align_to_end
14 # CHECK: 1: nopw %cs:(%eax,%eax)
15 # CHECK: 10: nopw %cs:(%eax,%eax)
16 # CHECK-RELAX: 1a: nop
17 # CHECK-RELAX: 20: nopw %cs:(%eax,%eax)
18 # CHECK-RELAX: 2a: nopw %cs:(%eax,%eax)
19 # CHECK-OPT: 1b: calll -4
20 # CHECK-RELAX: 3b: calll -4
21 calll bar # 5 bytes
22 .bundle_unlock
23 ret # 1 byte