Add a test that .align directives on capable processors use long NOPs.
[oota-llvm.git] / test / MC / X86 / x86_long_nop.s
1 # RUN: llvm-mc -filetype=obj -arch=x86 -mcpu=i686 %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s
2
3 # Ensure alignment directives also emit sequences of 15-byte NOPs on processors
4 # capable of using long NOPs.
5 inc %eax
6 .align 32
7 inc %eax
8 # CHECK: 0:  inc
9 # CHECK-NEXT: 1:  nop
10 # CHECK-NEXT: 10:  nop
11 # CHECK-NEXT: 1f:  nop
12 # CHECK-NEXT: 20:  inc