[PowerPC] Support b(cond)l in the asm parser
[oota-llvm.git] / test / MC / X86 / AlignedBundling / long-nop-pad.s
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
3
4 # Test that long nops are generated for padding where possible.
5
6   .text
7 foo:
8   .bundle_align_mode 5
9
10 # This callq instruction is 5 bytes long
11   .bundle_lock align_to_end
12   callq   bar
13   .bundle_unlock
14 # To align this group to a bundle end, we need a 15-byte NOP and a 12-byte NOP.
15 # CHECK:        0:  nop
16 # CHECK-NEXT:   f:  nop
17 # CHECK-NEXT:   1b: callq
18
19 # This push instruction is 1 byte long
20   .bundle_lock align_to_end
21   push %rax
22   .bundle_unlock
23 # To align this group to a bundle end, we need two 15-byte NOPs, and a 1-byte.
24 # CHECK:        20:  nop
25 # CHECK-NEXT:   2f:  nop
26 # CHECK-NEXT:   3e:  nop
27 # CHECK-NEXT:   3f: pushq