| 1 |
/* { dg-do run { target { riscv_v } } } */ |
| 2 |
/* { dg-additional-options "-mrvv-vector-bits=zvl" } */ |
| 3 |
|
| 4 |
#include "multiple_rgroup-3.c" |
| 5 |
|
| 6 |
int __attribute__ ((optimize (0))) main (void) |
| 7 |
{ |
| 8 |
int8_t f0_x[3108], f0_x2[3108]; |
| 9 |
int16_t f0_y[6216], f0_y2[6216]; |
| 10 |
f0_init (f0_x, f0_x2, f0_y, f0_y2, 3108); |
| 11 |
f0 (f0_x, f0_y, 3108); |
| 12 |
f0_golden (f0_x2, f0_y2, 3108); |
| 13 |
f0_check (f0_x, f0_x2, f0_y, f0_y2, 3108); |
| 14 |
|
| 15 |
int16_t f1_x[1998], f1_x2[1998]; |
| 16 |
int32_t f1_y[3996], f1_y2[3996]; |
| 17 |
f1_init (f1_x, f1_x2, f1_y, f1_y2, 1998); |
| 18 |
f1 (f1_x, f1_y, 1998); |
| 19 |
f1_golden (f1_x2, f1_y2, 1998); |
| 20 |
f1_check (f1_x, f1_x2, f1_y, f1_y2, 1998); |
| 21 |
|
| 22 |
int32_t f2_x[2023], f2_x2[2023]; |
| 23 |
int64_t f2_y[4046], f2_y2[4046]; |
| 24 |
f2_init (f2_x, f2_x2, f2_y, f2_y2, 2023); |
| 25 |
f2 (f2_x, f2_y, 2023); |
| 26 |
f2_golden (f2_x2, f2_y2, 2023); |
| 27 |
f2_check (f2_x, f2_x2, f2_y, f2_y2, 2023); |
| 28 |
|
| 29 |
int8_t f3_x[3203], f3_x2[3203]; |
| 30 |
int64_t f3_y[6406], f3_y2[6406]; |
| 31 |
f3_init (f3_x, f3_x2, f3_y, f3_y2, 3203); |
| 32 |
f3 (f3_x, f3_y, 3203); |
| 33 |
f3_golden (f3_x2, f3_y2, 3203); |
| 34 |
f3_check (f3_x, f3_x2, f3_y, f3_y2, 3203); |
| 35 |
return 0; |
| 36 |
} |