OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [complex-3.c] - Diff between revs 297 and 338

Only display areas with differences | Details | Blame | View Log

Rev 297 Rev 338
/* PR 22116 */
/* PR 22116 */
 
 
void g(_Complex float);
void g(_Complex float);
_Complex float f(int data, _Complex float x, _Complex float y)
_Complex float f(int data, _Complex float x, _Complex float y)
{
{
  _Complex float i, t;
  _Complex float i, t;
  if (data)
  if (data)
  {
  {
    i = x +  __imag__ y;
    i = x +  __imag__ y;
    g(i);
    g(i);
  }
  }
  else
  else
    i = 5;
    i = 5;
  t = x + __imag__ y;
  t = x + __imag__ y;
  g(t);
  g(t);
  return t * i;
  return t * i;
}
}
 
 

powered by: WebSVN 2.1.0

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