summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/i64-mem-copy.ll
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-03-16 13:53:07 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-03-16 13:53:07 +0000
commitd60e4101e6468c3540484c8f61671e83de3a33b9 (patch)
tree4485b3a589bf108a33cdccbf601063bc5c76c676 /llvm/test/CodeGen/X86/i64-mem-copy.ll
parent0b9e2b025715febd862e92e08d40742822b44c56 (diff)
downloadbcm5719-llvm-d60e4101e6468c3540484c8f61671e83de3a33b9.tar.gz
bcm5719-llvm-d60e4101e6468c3540484c8f61671e83de3a33b9.zip
test/CodeGen/X86: FileCheck-ize and add actions for x86_64-linux and x86_64-win32.
llvm-svn: 127734
Diffstat (limited to 'llvm/test/CodeGen/X86/i64-mem-copy.ll')
-rw-r--r--llvm/test/CodeGen/X86/i64-mem-copy.ll8
1 files changed, 6 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/i64-mem-copy.ll b/llvm/test/CodeGen/X86/i64-mem-copy.ll
index 847e2095f4c..dce12ae1248 100644
--- a/llvm/test/CodeGen/X86/i64-mem-copy.ll
+++ b/llvm/test/CodeGen/X86/i64-mem-copy.ll
@@ -1,5 +1,9 @@
-; RUN: llc < %s -march=x86-64 | grep {movq.*(%rsi), %rax}
-; RUN: llc < %s -march=x86 -mattr=+sse2 | grep {movsd.*(%eax),}
+; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s -check-prefix=X64
+; RUN: llc < %s -mtriple=x86_64-win32 | FileCheck %s -check-prefix=X64
+; X64: movq ({{%rsi|%rdx}}), %r
+
+; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s -check-prefix=X32
+; X32: movsd (%eax), %xmm
; Uses movsd to load / store i64 values if sse2 is available.
OpenPOWER on IntegriCloud