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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr33742.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -ftree-vectorize" } */
3
 
4
typedef unsigned short ush;
5
extern ush prev[];
6
 
7
void fill_window ()
8
{
9
  register unsigned n, m;
10
 
11
  for (n = 0; n < 32768; n++)
12
    {
13
      m = prev[n];
14
      prev[n] = (ush) (m >= 0x8000 ? m - 0x8000 : 0);
15
    }
16
}

powered by: WebSVN 2.1.0

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