Mercurial > hg > CbC > CbC_gcc
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 |
rev | line source |
---|---|
111 | 1 /* { dg-do compile } */ |
2 /* { dg-require-effective-target vect_float } */ | |
3 | |
4 void f(float *__restrict__ qa, float *__restrict__ qb, | |
5 float *__restrict__ qc, float *__restrict__ rtrms) | |
6 { | |
7 int i; | |
8 static float qam[600]; | |
9 static float qbm[600]; | |
10 static float qcm[600]; | |
11 for(i=0;i<600;i++) | |
12 { | |
13 float a = rtrms[i]; | |
14 qam[i] = qa[i]/a; | |
15 qbm[i] = qb[i]/a; | |
16 qcm[i] = qc[i]/a; | |
17 } | |
18 } | |
19 |