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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [regstack-1.c] - Blame information for rev 297

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
long double C = 5;
2
long double U = 1;
3
long double Y2 = 11;
4
long double Y1 = 17;
5
long double X, Y, Z, T, R, S;
6
main ()
7
{
8
  X = (C + U) * Y2;
9
  Y = C - U - U;
10
  Z = C + U + U;
11
  T = (C - U) * Y1;
12
  X = X - (Z + U);
13
  R = Y * Y1;
14
  S = Z * Y2;
15
  T = T - Y;
16
  Y = (U - Y) + R;
17
  Z = S - (Z + U + U);
18
  R = (Y2 + U) * Y1;
19
  Y1 = Y2 * Y1;
20
  R = R - Y2;
21
  Y1 = Y1 - 0.5L;
22
  if (Z != 68. || Y != 49. || X != 58. || Y1 != 186.5 || R != 193. || S != 77.
23
      || T != 65. || Y2 != 11.)
24
    abort ();
25
  exit (0);
26
}

powered by: WebSVN 2.1.0

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