| 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 # Will be bundle-aligning to 16 byte boundaries | 6 # Will be bundle-aligning to 16 byte boundaries |
| 5 .bundle_align_mode 4 | 7 .bundle_align_mode 4 |
| 6 .text | 8 .text |
| 7 # CHECK-LABEL: foo | 9 # CHECK-LABEL: foo |
| 8 foo: | 10 foo: |
| 9 # Test that bundle alignment mode can be set more than once. | 11 # Test that bundle alignment mode can be set more than once. |
| 10 .bundle_align_mode 4 | 12 .bundle_align_mode 4 |
| 11 # Each of these callq instructions is 5 bytes long | 13 # Each of these callq instructions is 5 bytes long |
| 12 callq bar | 14 callq bar |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 .bundle_lock | 60 .bundle_lock |
| 59 .bundle_lock | 61 .bundle_lock |
| 60 callq bar | 62 callq bar |
| 61 .bundle_unlock | 63 .bundle_unlock |
| 62 callq bar | 64 callq bar |
| 63 .bundle_unlock | 65 .bundle_unlock |
| 64 # Check that the calls are bundled together when the second one is after the | 66 # Check that the calls are bundled together when the second one is after the |
| 65 # inner nest is closed. | 67 # inner nest is closed. |
| 66 # CHECK: 70: callq | 68 # CHECK: 70: callq |
| 67 # CHECK-NEXT: 75: callq | 69 # CHECK-NEXT: 75: callq |
| OLD | NEW |