OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr28900.c] - Blame information for rev 754

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-ftree-vectorize" } */
3
 
4
int synths_ ( float * rc)
5
{
6
  float r1, r2;
7
  int i;
8
  for (i = 0; i < 128; ++i)
9
    {
10
      r2 = rc[i];
11
      r1 = ((r2) <= (.99f) ? (r2) : (.99f));
12
      rc[i] = ((r1) >= (-.99f) ? (r1) : (-.99f));
13
    }
14
}
15
 

powered by: WebSVN 2.1.0

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