1 /* { dg-do assemble { target aarch64_asm_sve_ok } } */
2 /* { dg-options "-O2 -ftree-vectorize --save-temps" } */
4 #define DO_OPS(TYPE, OP) \
6 vsqrt_##TYPE (TYPE *dst, TYPE *src, int count) \
8 for (int i = 0; i < count; ++i) \
9 dst[i] = __builtin_##OP (src[i]); \
15 /* { dg-final { scan-assembler-times {\tfrintx\tz[0-9]+\.s, p[0-7]/m, z[0-9]+\.s\n} 1 } } */
16 /* { dg-final { scan-assembler-times {\tfrintx\tz[0-9]+\.d, p[0-7]/m, z[0-9]+\.d\n} 1 } } */