Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/sve/peel_ind_1_run.c

raw
1 /* { dg-do run { target aarch64_sve_hw } } */
2 /* { dg-options "-O3 -mtune=thunderx" } */
3 /* { dg-options "-O3 -mtune=thunderx -msve-vector-bits=256" { target aarch64_sve256_hw } } */
4
5 #include "peel_ind_1.c"
6
7 int __attribute__ ((optimize (1)))
8 main (void)
9 {
10 foo ();
11 for (int i = 0; i < N; ++i)
12 {
13 if (x[i] != (i < START || i >= END ? 0 : (i - START) * 5))
14 __builtin_abort ();
15 asm volatile ("" ::: "memory");
16 }
17 return 0;
18 }