2 /* { dg-options "-O2 -msse2" } */
3 /* { dg-require-effective-target sse2 } */
4 #include "sse2-check.h"
12 void foo (u
, u
) __attribute__((noinline
));
14 if (b
.f
[0] != 7.0 || b
.f
[1] != 8.0 || b
.f
[2] != 3.0 || b
.f
[3] != 4.0)
17 void bar (__v4sf
, __v4sf
) __attribute__((noinline
));
18 void bar (__v4sf a
__attribute((unused
)), __v4sf b
__attribute((unused
))) { untrue
= 0;}
19 __v4sf
setupa () __attribute((noinline
));
20 __v4sf
setupa () { __v4sf t
= { 1.0, 2.0, 3.0, 4.0 }; return t
; }
21 __v4sf
setupb () __attribute((noinline
));
22 __v4sf
setupb () { __v4sf t
= { 5.0, 6.0, 7.0, 8.0 }; return t
; }
23 void __attribute__((noinline
))
30 b
.v
= (__v4sf
) _mm_movehl_ps ((__m128
)a
.v
, (__m128
)b
.v
);