1 /* { dg-do run { target aarch64_sve256_hw } } */ 2 /* { dg-options "-O2 -msve-vector-bits=256" } */ 3 4 #include "init_7.c" 5 main()6int main() 7 { 8 int a = 10; 9 int b = 11; 10 int c = 12; 11 int d = 13; 12 int e = 14; 13 int f = 15; 14 int g = 16; 15 int h = 17; 16 17 vnx4si v = foo (a, b, c, d, e, f, g, h); 18 int expected[] = { a, b, c, d, e, f, g, h }; 19 20 for (int i = 0; i < 8; i++) 21 if (v[i] != expected[i]) 22 __builtin_abort (); 23 24 return 0; 25 } 26