Implement "punpckldq %xmm0, $xmm0" as "pshufd $0x50, %xmm0, %xmm" unless optimizing...
authorEvan Cheng <evan.cheng@apple.com>
Fri, 26 Sep 2008 23:41:32 +0000 (23:41 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 26 Sep 2008 23:41:32 +0000 (23:41 +0000)
commitb7a75a5a541a836d07cfc5ccebd70bb5e42f797f
tree66181d36082ae4203edbca00c97e614e31fc7f3b
parent19c874638d9478a5d5028854817a5ee72293bb2b
Implement "punpckldq  %xmm0, $xmm0" as "pshufd  $0x50, %xmm0, %xmm" unless optimizing for code size.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56711 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelDAGToDAG.cpp
lib/Target/X86/X86InstrInfo.td
lib/Target/X86/X86InstrSSE.td
test/CodeGen/X86/vec_extract.ll
test/CodeGen/X86/vec_shuffle-23.ll [new file with mode: 0644]