2009-09-09 07:54:48 +08:00
|
|
|
; RUN: llc < %s -march=x86 -mattr=+sse42 -disable-mmx -o %t
|
2008-12-19 04:05:58 +08:00
|
|
|
|
|
|
|
; widening shuffle v3float and then a add
|
|
|
|
|
|
|
|
define void @shuf(<3 x float>* %dst.addr, <3 x float> %src1,<3 x float> %src2) nounwind {
|
|
|
|
entry:
|
|
|
|
%x = shufflevector <3 x float> %src1, <3 x float> %src2, <3 x i32> < i32 0, i32 1, i32 2>
|
2009-06-05 06:49:04 +08:00
|
|
|
%val = fadd <3 x float> %x, %src2;
|
2008-12-19 04:05:58 +08:00
|
|
|
store <3 x float> %val, <3 x float>* %dst.addr
|
|
|
|
ret void
|
|
|
|
}
|