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
4 # Test that long nops are generated for padding where possible.
10 # This callq instruction is 5 bytes long
11 .bundle_lock align_to_end
14 # To align this group to a bundle end, we need a 15-byte NOP and a 12-byte NOP.
17 # CHECK-NEXT: 1b: callq
19 # This push instruction is 1 byte long
20 .bundle_lock align_to_end
23 # To align this group to a bundle end, we need two 15-byte NOPs, and a 1-byte.
27 # CHECK-NEXT: 3f: pushq