OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [vect-recip.c] - Blame information for rev 307

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { 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
 
20
/* { dg-final { cleanup-tree-dump "vect" } } */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.