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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.target/] [i386/] [pr23268.c] - Diff between revs 318 and 338

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

Rev 318 Rev 338
/* PR target/23268 */
/* PR target/23268 */
/* Testcase reduced by Andrew Pinski */
/* Testcase reduced by Andrew Pinski */
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-options "-O1 -ffast-math" } */
/* { dg-options "-O1 -ffast-math" } */
 
 
int
int
f (float x)
f (float x)
{
{
  int a, b;
  int a, b;
  a = __builtin_log (2.f);
  a = __builtin_log (2.f);
  b = __builtin_lrint (x);
  b = __builtin_lrint (x);
  return (a + b);
  return (a + b);
}
}
 
 

powered by: WebSVN 2.1.0

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