1# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - \
2# RUN:   | llvm-objdump -disassemble -no-show-raw-insn - | FileCheck %s
3# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu -mc-relax-all %s -o - \
4# RUN:   | llvm-objdump -disassemble -no-show-raw-insn - | FileCheck %s
5
6# Test two different executable sections with bundling.
7
8  .bundle_align_mode 3
9  .section text1, "x"
10# CHECK: section text1
11  imull $17, %ebx, %ebp
12  imull $17, %ebx, %ebp
13
14  imull $17, %ebx, %ebp
15# CHECK:      6: nop
16# CHECK-NEXT: 8: imull
17
18  .section text2, "x"
19# CHECK: section text2
20  imull $17, %ebx, %ebp
21  imull $17, %ebx, %ebp
22
23  imull $17, %ebx, %ebp
24# CHECK:      6: nop
25# CHECK-NEXT: 8: imull
26
27
28