Use conditional internal functions in if-conversion
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / sve / unpack_fcvt_unsigned_1.c
blob70465f91eba4f80140b2059481eb8f06bbc9ace7
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftree-vectorize" } */
4 #include <stdint.h>
6 void __attribute__ ((noinline, noclone))
7 unpack_double_int_plus9 (double *d, uint32_t *s, int size)
9 for (int i = 0; i < size; i++)
10 d[i] = (double) (s[i] + 9);
13 /* { dg-final { scan-assembler-times {\tzip1\tz[0-9]+\.s, z[0-9]+\.s, z[0-9]+\.s\n} 1 } } */
14 /* { dg-final { scan-assembler-times {\tzip2\tz[0-9]+\.s, z[0-9]+\.s, z[0-9]+\.s\n} 1 } } */
15 /* { dg-final { scan-assembler-times {\tucvtf\tz[0-9]+\.d, p[0-7]/m, z[0-9]+\.s\n} 2 } } */