Debian Codegraph @

gcc/testsuite/gcc.target/arm/mve/dlstp-int8x16-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
7 #include "dlstp-int8x16.c"
8
9 int main ()
10 {
11 int i;
12 int8_t temp1[N];
13 int8_t temp2[N];
14 int8_t temp3[N];
15 reset_data8 (temp1, temp2, temp3, N);
16 test (temp1, temp2, temp3, 0);
17 check_plus8 (temp1, temp2, temp3, 0);
18
19 reset_data8 (temp1, temp2, temp3, N);
20 test (temp1, temp2, temp3, 1);
21 check_plus8 (temp1, temp2, temp3, 1);
22
23 reset_data8 (temp1, temp2, temp3, N);
24 test (temp1, temp2, temp3, 15);
25 check_plus8 (temp1, temp2, temp3, 15);
26
27 reset_data8 (temp1, temp2, temp3, N);
28 test (temp1, temp2, temp3, 16);
29 check_plus8 (temp1, temp2, temp3, 16);
30
31 reset_data8 (temp1, temp2, temp3, N);
32 test (temp1, temp2, temp3, 17);
33 check_plus8 (temp1, temp2, temp3, 17);
34
35 reset_data8 (temp1, temp2, temp3, N);
36 test (temp1, temp2, temp3, 32);
37 check_plus8 (temp1, temp2, temp3, 32);
38
39 reset_data8 (temp1, temp2, temp3, N);
40 test (temp1, temp2, temp3, 33);
41 check_plus8 (temp1, temp2, temp3, 33);
42
43 reset_data8 (temp1, temp2, temp3, N);
44 }