1 #include "p9-vec-length.h"
2
3 /* Test the case that the loop requires to peel for gaps. */
4
5 #define N 200
6
7 #define test(TYPE) \
8 void __attribute__((noinline, noclone)) \
9 test_##TYPE(TYPE *restrict dest, TYPE *restrict src) { \
10 for (unsigned int i = 0; i < N; ++i) \
11 dest[i] += src[i * 2]; \
12 }
13
14 TEST_ALL(test)