Fixes a test by replacing .align by .p2align and setting triples explicitly.
[oota-llvm.git] / test / MC / X86 / x86_long_nop.s
1 # RUN: llvm-mc -filetype=obj -arch=x86 -triple=x86_64-pc-linux-gnu %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s
2 # RUN: llvm-mc -filetype=obj -arch=x86 -triple=i686-pc-linux-gnu %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s
3 # RUN: llvm-mc -filetype=obj -arch=x86 -triple=x86_64-apple-darwin10.0 %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s
4 # RUN: llvm-mc -filetype=obj -arch=x86 -triple=i686-apple-darwin8 %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s
5
6 # Ensure alignment directives also emit sequences of 15-byte NOPs on processors
7 # capable of using long NOPs.
8 inc %eax
9 .p2align 5
10 inc %eax
11 # CHECK: 0:  inc
12 # CHECK-NEXT: 1:  nop
13 # CHECK-NEXT: 10:  nop
14 # CHECK-NEXT: 1f:  nop
15 # CHECK-NEXT: 20:  inc