Debian Codegraph @

gcc/testsuite/gcc.target/arm/mve/dlstp-int16x8-run.c

raw
1 /* { dg-do run { target { arm*-*-* } } } */
2 /* { dg-require-effective-target arm_v8_1m_mve_ok } */
3 /* { dg-require-effective-target arm_mve_hw } */
4 /* { dg-options "-O2 -save-temps" } */
5 /* { dg-add-options arm_v8_1m_mve } */
6 #include "dlstp-int16x8.c"
7
8 int main ()
9 {
10 int i;
11 int16_t temp1[N];
12 int16_t temp2[N];
13 int16_t temp3[N];
14 reset_data16 (temp1, temp2, temp3, N);
15 test (temp1, temp2, temp3, 0);
16 check_plus16 (temp1, temp2, temp3, 0);
17
18 reset_data16 (temp1, temp2, temp3, N);
19 test (temp1, temp2, temp3, 1);
20 check_plus16 (temp1, temp2, temp3, 1);
21
22 reset_data16 (temp1, temp2, temp3, N);
23 test (temp1, temp2, temp3, 7);
24 check_plus16 (temp1, temp2, temp3, 7);
25
26 reset_data16 (temp1, temp2, temp3, N);
27 test (temp1, temp2, temp3, 8);
28 check_plus16 (temp1, temp2, temp3, 8);
29
30 reset_data16 (temp1, temp2, temp3, N);
31 test (temp1, temp2, temp3, 9);
32 check_plus16 (temp1, temp2, temp3, 9);
33
34 reset_data16 (temp1, temp2, temp3, N);
35 test (temp1, temp2, temp3, 16);
36 check_plus16 (temp1, temp2, temp3, 16);
37
38 reset_data16 (temp1, temp2, temp3, N);
39 test (temp1, temp2, temp3, 17);
40 check_plus16 (temp1, temp2, temp3, 17);
41
42 reset_data16 (temp1, temp2, temp3, N);
43 }
44