2 /* { dg-options "-O2 -msse" } */
3 /* { dg-require-effective-target sse } */
9 void __attribute__((noinline
))
14 float out
[4] __attribute__ ((aligned (16)));
17 for (i
= 0; i
< 4; i
++)
21 _mm_cvtpi8_ps (_mm_setr_pi8
22 (image
[0], image
[1], image
[2], image
[3], 0, 0, 0, 0));
23 _mm_store_ps (out
, image4
);
26 for (i
= 0; i
< 4; i
++)
27 if (out
[i
] != (float) (i
+ 1))
31 _mm_cvtpu8_ps (_mm_setr_pi8
32 (image
[0], image
[1], image
[2], image
[3], 0, 0, 0, 0));
33 _mm_store_ps (out
, image4
);
36 for (i
= 0; i
< 4; i
++)
37 if (out
[i
] != (float) (i
+ 1))