diff options
author | Eli Bendersky <eliben@google.com> | 2013-03-05 18:56:14 +0000 |
---|---|---|
committer | Eli Bendersky <eliben@google.com> | 2013-03-05 18:56:14 +0000 |
commit | 1ab326310cc9fddf0cc17b981f4f9996f1a19e76 (patch) | |
tree | dbf9714a35ef0c1e4770ff4fc49334e2b1a735de /test/MC/X86 | |
parent | 285f6f1a2488db39e2b4209732b2ff435292e0cf (diff) | |
download | external_llvm-1ab326310cc9fddf0cc17b981f4f9996f1a19e76.zip external_llvm-1ab326310cc9fddf0cc17b981f4f9996f1a19e76.tar.gz external_llvm-1ab326310cc9fddf0cc17b981f4f9996f1a19e76.tar.bz2 |
Fixes a test by replacing .align by .p2align and setting triples explicitly.
Patch by David Sehr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176502 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/X86')
-rw-r--r-- | test/MC/X86/x86_long_nop.s | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/MC/X86/x86_long_nop.s b/test/MC/X86/x86_long_nop.s index f8e7642..ac1bc08 100644 --- a/test/MC/X86/x86_long_nop.s +++ b/test/MC/X86/x86_long_nop.s @@ -1,9 +1,12 @@ -# RUN: llvm-mc -filetype=obj -arch=x86 -mcpu=i686 %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s +# RUN: llvm-mc -filetype=obj -arch=x86 -triple=x86_64-pc-linux-gnu %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s +# RUN: llvm-mc -filetype=obj -arch=x86 -triple=i686-pc-linux-gnu %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s +# RUN: llvm-mc -filetype=obj -arch=x86 -triple=x86_64-apple-darwin10.0 %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s +# RUN: llvm-mc -filetype=obj -arch=x86 -triple=i686-apple-darwin8 %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s # Ensure alignment directives also emit sequences of 15-byte NOPs on processors # capable of using long NOPs. inc %eax -.align 32 +.p2align 5 inc %eax # CHECK: 0: inc # CHECK-NEXT: 1: nop |