1 /* { dg-do compile } */
2 /* { dg-options "-O2 -msse" } */
4 typedef float v4sf
__attribute__ ((__vector_size__ (16)));
6 void bench_1(float * out
, float * in
, float f
, unsigned int n
)
9 v4sf scalar
= { f
, f
, f
, f
};
12 v4sf arg
= *(v4sf
*)in
;
13 v4sf result
= arg
+ scalar
;
14 *(v4sf
*) out
= result
;
21 /* { dg-final { scan-assembler-not "addps\[^\\n\]*%\[er\]" } } */