shufps with load folding is better than movaps; movsd.

llvm-svn: 30849
This commit is contained in:
Evan Cheng 2006-10-09 22:42:31 +00:00
parent d1a37cb9dc
commit ddd78757d1

View File

@ -1,4 +1,5 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep movsd | wc -l | grep 1
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep movhlps | wc -l | grep 1 &&
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep shufps | wc -l | grep 1
void %test() {
%tmp1 = load <4 x float>* null