different-sections.s revision 16996c4940ad4248dc2a874d060b30e94e55b672
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
4# Test two different executable sections with bundling.
5
6  .bundle_align_mode 3
7  .section text1, "x"
8# CHECK: section text1
9  imull $17, %ebx, %ebp
10  imull $17, %ebx, %ebp
11
12  imull $17, %ebx, %ebp
13# CHECK:      6: nop
14# CHECK-NEXT: 8: imull
15
16  .section text2, "x"
17# CHECK: section text2
18  imull $17, %ebx, %ebp
19  imull $17, %ebx, %ebp
20
21  imull $17, %ebx, %ebp
22# CHECK:      6: nop
23# CHECK-NEXT: 8: imull
24
25
26