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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [920721-1.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 688 jeremybenn
typedef struct{short ttype;float s;}T;
2
short t[8][8];
3
 
4
T f(T t2,T t1)
5
{
6
  T x;
7
  if (t1.ttype == 1)
8
    x.ttype = t[t2.ttype][t1.ttype],
9
    x.s = 1;
10
  return x;
11
}

powered by: WebSVN 2.1.0

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