2009-09-09 07:54:48 +08:00
|
|
|
; RUN: llc < %s -march=x86 -mcpu=yonah -mtriple=i686-apple-darwin8 | grep movaps
|
2010-05-08 01:03:48 +08:00
|
|
|
; RUN: llc < %s -march=x86 -mcpu=yonah -mtriple=i686-linux-gnu | grep movups
|
2007-08-02 01:10:30 +08:00
|
|
|
|
2008-05-08 06:59:08 +08:00
|
|
|
define <4 x float> @foo(float %a, float %b, float %c, float %d) nounwind {
|
2007-08-02 01:10:30 +08:00
|
|
|
entry:
|
|
|
|
%tmp6 = insertelement <4 x float> undef, float %a, i32 0
|
|
|
|
%tmp7 = insertelement <4 x float> %tmp6, float %b, i32 1
|
|
|
|
%tmp8 = insertelement <4 x float> %tmp7, float %c, i32 2
|
|
|
|
%tmp9 = insertelement <4 x float> %tmp8, float %d, i32 3
|
|
|
|
ret <4 x float> %tmp9
|
|
|
|
}
|
|
|
|
|