diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-01-02 05:29:08 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-01-02 05:29:08 +0000 |
commit | f9393b341554f465fbd1b2daf536a1591a674a26 (patch) | |
tree | cf22341738bf156bbd719b676cedbf7c3b092622 /test/CodeGen/X86/vec_shuffle-28.ll | |
parent | 619bb43a50103a14f7b36f6e5edf9bb0385b2c82 (diff) | |
download | external_llvm-f9393b341554f465fbd1b2daf536a1591a674a26.zip external_llvm-f9393b341554f465fbd1b2daf536a1591a674a26.tar.gz external_llvm-f9393b341554f465fbd1b2daf536a1591a674a26.tar.bz2 |
Use movaps / movd to extract vector element 0 even with sse4.1. It's still cheaper than pextrw especially if the value is in memory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61555 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/vec_shuffle-28.ll')
-rw-r--r-- | test/CodeGen/X86/vec_shuffle-28.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/vec_shuffle-28.ll b/test/CodeGen/X86/vec_shuffle-28.ll index e73b824..0c81e77 100644 --- a/test/CodeGen/X86/vec_shuffle-28.ll +++ b/test/CodeGen/X86/vec_shuffle-28.ll @@ -1,6 +1,6 @@ ; RUN: llvm-as < %s | llc -march=x86 -mattr=sse41 -o %t -f ; RUN: grep punpcklwd %t | count 1 -; RUN: grep pextrw %t | count 8 +; RUN: grep pextrw %t | count 6 ; RUN: grep pinsrw %t | count 8 |