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 some variations of padding for bundle-locked groups. | 6 # Test some variations of padding for bundle-locked groups. |
5 | 7 |
6 .text | 8 .text |
7 foo: | 9 foo: |
8 .bundle_align_mode 4 | 10 .bundle_align_mode 4 |
9 | 11 |
10 # Each of these callq instructions is 5 bytes long | 12 # Each of these callq instructions is 5 bytes long |
11 callq bar | 13 callq bar |
12 callq bar | 14 callq bar |
(...skipping 24 matching lines...) Expand all Loading... |
37 callq bar | 39 callq bar |
38 .bundle_unlock | 40 .bundle_unlock |
39 # And here we'll need a 11-byte NOP | 41 # And here we'll need a 11-byte NOP |
40 # CHECK: 30: callq | 42 # CHECK: 30: callq |
41 # CHECK: 35: nop | 43 # CHECK: 35: nop |
42 # CHECK-NEXT: 40: callq | 44 # CHECK-NEXT: 40: callq |
43 # CHECK-NEXT: 45: callq | 45 # CHECK-NEXT: 45: callq |
44 | 46 |
45 | 47 |
46 | 48 |
OLD | NEW |