Implement a readme entry, compiling
authorChris Lattner <sabre@nondot.org>
Sun, 9 Mar 2008 01:05:04 +0000 (01:05 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 9 Mar 2008 01:05:04 +0000 (01:05 +0000)
commit62098040a15b492561ca59a8dc6b56d14c0859bf
tree9345e214b97b94632fbd530f2c67921f64b3fe66
parent8aca4b13a896ba74456cb1c96229495fd8c31178
Implement a readme entry, compiling
#include <xmmintrin.h>
__m128i doload64(short x) {return _mm_set_epi16(0,0,0,0,0,0,0,1);}

into:
movl $1, %eax
movd %eax, %xmm0
ret

instead of a constant pool load.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48063 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/README-SSE.txt
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/vec_set-A.ll [new file with mode: 0644]