1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftree-vectorize" } */
4 void __attribute__ ((noinline
, noclone
))
5 unpack_float_plus_7point9 (double *d
, float *s
, int size
)
7 for (int i
= 0; i
< size
; i
++)
11 /* { dg-final { scan-assembler-times {\tuunpklo\tz[0-9]+\.d, z[0-9]+\.s\n} 1 } } */
12 /* { dg-final { scan-assembler-times {\tuunpkhi\tz[0-9]+\.d, z[0-9]+\.s\n} 1 } } */
13 /* { dg-final { scan-assembler-times {\tfcvt\tz[0-9]+\.d, p[0-7]/m, z[0-9]+\.s\n} 2 } } */