OLD | NEW |
1 # RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - \ | 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 | 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 |
3 | 5 |
4 # Test two different executable sections with bundling. | 6 # Test two different executable sections with bundling. |
5 | 7 |
6 .bundle_align_mode 3 | 8 .bundle_align_mode 3 |
7 .section text1, "x" | 9 .section text1, "x" |
8 # CHECK: section text1 | 10 # CHECK: section text1 |
9 imull $17, %ebx, %ebp | 11 imull $17, %ebx, %ebp |
10 imull $17, %ebx, %ebp | 12 imull $17, %ebx, %ebp |
11 | 13 |
12 imull $17, %ebx, %ebp | 14 imull $17, %ebx, %ebp |
13 # CHECK: 6: nop | 15 # CHECK: 6: nop |
14 # CHECK-NEXT: 8: imull | 16 # CHECK-NEXT: 8: imull |
15 | 17 |
16 .section text2, "x" | 18 .section text2, "x" |
17 # CHECK: section text2 | 19 # CHECK: section text2 |
18 imull $17, %ebx, %ebp | 20 imull $17, %ebx, %ebp |
19 imull $17, %ebx, %ebp | 21 imull $17, %ebx, %ebp |
20 | 22 |
21 imull $17, %ebx, %ebp | 23 imull $17, %ebx, %ebp |
22 # CHECK: 6: nop | 24 # CHECK: 6: nop |
23 # CHECK-NEXT: 8: imull | 25 # CHECK-NEXT: 8: imull |
24 | 26 |
25 | 27 |
OLD | NEW |