1 # RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu -mcpu=pentiumpro %s -o - \
2 # RUN: | llvm-objdump -disassemble -no-show-raw-insn - | FileCheck %s
3 # RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu -mcpu=pentiumpro -mc-relax-all %s -o - \
4 # RUN: | llvm-objdump -disassemble -no-show-raw-insn - | FileCheck %s
6 # Test that long nops are generated for padding where possible.
12 # This callq instruction is 5 bytes long
13 .bundle_lock align_to_end
16 # To align this group to a bundle end, we need a two 10-byte NOPs and a 7-byte NOP.
22 # This push instruction is 1 byte long
23 .bundle_lock align_to_end
26 # To align this group to a bundle end, we need three 10-byte NOPs, and a 1-byte.
31 # CHECK-NEXT: 3f: pushq