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/] [math-torture/] [lrint.c] - Rev 318

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

/* { dg-do assemble } */
 
long testlf (float x)
{
  return __builtin_lrintf (x);
}
long testl (double x)
{
  return __builtin_lrint (x);
}
long testll (long double x)
{
  return __builtin_lrintl (x);
}
long long testllf (float x)
{
  return __builtin_llrintf (x);
}
long long testll_ (double x)
{
  return __builtin_llrint (x);
}
long long testlll (long double x)
{
  return __builtin_llrintl (x);
}
 

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

powered by: WebSVN 2.1.0

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