diff options
author | Michael Liao <michael.liao@intel.com> | 2012-10-25 17:50:05 +0000 |
---|---|---|
committer | Michael Liao <michael.liao@intel.com> | 2012-10-25 17:50:05 +0000 |
commit | 8d7cd1d8fc3d1344d5f286cea2ce34cea0d3f01a (patch) | |
tree | f3be719d70b56b454fc788c13bb2114732d99b6d /test/CodeGen/X86/atom-shuf.ll | |
parent | 5e6b37fa3d5f555b0aba7b2594f28b359a22ea31 (diff) | |
download | llvm-8d7cd1d8fc3d1344d5f286cea2ce34cea0d3f01a.tar.gz llvm-8d7cd1d8fc3d1344d5f286cea2ce34cea0d3f01a.tar.bz2 llvm-8d7cd1d8fc3d1344d5f286cea2ce34cea0d3f01a.tar.xz |
Add test for ATOM ISA SSSE3
- Remove SSE4.1 feature in other ATOM-based test cases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166699 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/atom-shuf.ll')
-rw-r--r-- | test/CodeGen/X86/atom-shuf.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/X86/atom-shuf.ll b/test/CodeGen/X86/atom-shuf.ll new file mode 100644 index 0000000000..4c3f2f67c5 --- /dev/null +++ b/test/CodeGen/X86/atom-shuf.ll @@ -0,0 +1,9 @@ +; RUN: llc < %s -mtriple=x86_64-linux-pc -mcpu=atom | FileCheck %s + +define <16 x i8> @foo(<16 x i8> %in) { + %r = shufflevector <16 x i8> %in, <16 x i8> undef, <16 x i32> < i32 7, i32 3, i32 2, i32 11, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef> + ret <16 x i8> %r +; CHECK: foo +; CHECK: pshufb +; CHECK-NEXT: ret +} |