2011-07-02 22:42:06 +02:00
|
|
|
; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s
|
|
|
|
; CHECK: movl $1, %{{.*}}
|
2008-05-08 00:59:08 +02:00
|
|
|
define <2 x i64> @test1() nounwind {
|
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.
llvm-svn: 48063
2008-03-09 02:05:04 +01:00
|
|
|
entry:
|
|
|
|
ret <2 x i64> < i64 1, i64 0 >
|
|
|
|
}
|
|
|
|
|