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

Subversion Repositories openrisc

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

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 "-fno-tree-pre -fno-tree-loop-im" } */
3
 
4
void putShort (int, int);
5
 
6
int t2;
7
void f(int t1)
8
{
9
  int clutOffset = 52 + 256 * 3 * 2;
10
  int x, y, z;
11
  for (x = 0; x < 16; x++)
12
    for (y = 0; y < 16; y++)
13
      for (z = 0; z < 16; z++)
14
        {
15
          int offset = clutOffset + z * 6 + y * 16 * 6 + x * 16 * 16 * 6;
16
          double xf = ((double) x) / ((double) 16 - 1.0);
17
          double tt = xf;
18
          putShort(offset, tt);
19
        }
20
}
21
 

powered by: WebSVN 2.1.0

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