gcc/testsuite/gcc.target/aarch64/sve/part_vect_single_iter_epilog.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O3 --param vect-partial-vector-usage=1" } */ |
| 3 | |
| 4 | void |
| 5 | foo (short * __restrict__ a, short * __restrict__ b, short * __restrict__ c, int n) |
| 6 | { |
| 7 | for (int i = 0; i < n; ++i) |
| 8 | c[i] = a[i] + b[i]; |
| 9 | } |
| 10 | |
| 11 | /* { dg-final { scan-assembler-times {\twhilelo\tp[0-9]+.h, wzr, [xw][0-9]+} 1 } } */ |