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.target/] [i386/] [excess-precision-6.c] - Rev 318

Compare with Previous | Blame | View Log

/* Excess precision tests.  Make sure sqrt is not inlined for float or
   double.  */
/* { dg-do compile } */
/* { dg-options "-mfpmath=387 -O2 -fno-math-errno -fexcess-precision=standard" } */
 
float f;
double d;
 
float fr;
double dr;
 
void
test_builtins (void)
{
  fr = __builtin_sqrtf (f);
  dr = __builtin_sqrt (d);
}
 
/* { dg-final { scan-assembler-not "fsqrt" } } */
 

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.