Favors pshufd over shufps when shuffling elements from one vector. pshufd is faster...
authorEvan Cheng <evan.cheng@apple.com>
Sat, 5 Apr 2008 00:30:36 +0000 (00:30 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sat, 5 Apr 2008 00:30:36 +0000 (00:30 +0000)
commit0c0f83ff5d214a7f42e86ae62814526ba40a28cf
treeffb95313874d040042271f886170c24b80ebd693
parenta4091d34f3c05717eb5bb66a1257a0c1005e6dfa
Favors pshufd over shufps when shuffling elements from one vector. pshufd is faster than shufps.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49244 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86InstrSSE.td
test/CodeGen/X86/2007-09-18-ShuffleXformBug.ll
test/CodeGen/X86/peep-vector-extract-concat.ll
test/CodeGen/X86/vec_set-3.ll
test/CodeGen/X86/vec_set-6.ll
test/CodeGen/X86/vec_shuffle-13.ll
test/CodeGen/X86/vec_shuffle-16.ll [new file with mode: 0644]
test/CodeGen/X86/vec_shuffle-5.ll
test/CodeGen/X86/vec_shuffle.ll
test/CodeGen/X86/vec_splat-2.ll
test/CodeGen/X86/vec_splat.ll