annotate gcc/testsuite/gcc.dg/vect/vect-recip.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* { dg-do compile } */
kono
parents:
diff changeset
2 /* { dg-require-effective-target vect_float } */
kono
parents:
diff changeset
3
kono
parents:
diff changeset
4 void f(float *__restrict__ qa, float *__restrict__ qb,
kono
parents:
diff changeset
5 float *__restrict__ qc, float *__restrict__ rtrms)
kono
parents:
diff changeset
6 {
kono
parents:
diff changeset
7 int i;
kono
parents:
diff changeset
8 static float qam[600];
kono
parents:
diff changeset
9 static float qbm[600];
kono
parents:
diff changeset
10 static float qcm[600];
kono
parents:
diff changeset
11 for(i=0;i<600;i++)
kono
parents:
diff changeset
12 {
kono
parents:
diff changeset
13 float a = rtrms[i];
kono
parents:
diff changeset
14 qam[i] = qa[i]/a;
kono
parents:
diff changeset
15 qbm[i] = qb[i]/a;
kono
parents:
diff changeset
16 qcm[i] = qc[i]/a;
kono
parents:
diff changeset
17 }
kono
parents:
diff changeset
18 }
kono
parents:
diff changeset
19