1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_float } */
3 /* { dg-require-effective-target vect_shift } */
4 /* { dg-require-effective-target vect_floatint_cvt } */
9 union { float f
; int i
; } tmp
;
14 vect_ldexpf(float x
, int n
)
20 float __attribute__ ((aligned(16))) a
[1024];
21 float __attribute__ ((aligned(16))) b
[1024];
22 float __attribute__ ((aligned(16))) c
[1024];
28 for (i
=0; i
!=1024; ++i
)
32 c
[i
] = vect_ldexpf(z
,n
);
36 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
37 /* { dg-final { cleanup-tree-dump "vect" } } */