1 /* { dg-do compile } */
2 /* { dg-additional-options "-Ofast" } */
3 /* { dg-additional-options "-march=armv8.2-a+sve -msve-vector-bits=512" { target aarch64-*-* } } */
6 boom(int n
, double *a
, double *x
)
11 for (j
= n
; j
>= 1; --j
)
14 for (i
= j
- 1; i
>= 1; --i
)
15 temp
+= a
[i
+ j
] * x
[i
];