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] - Blame information for rev 318

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 318 jeremybenn
/* Excess precision tests.  Make sure sqrt is not inlined for float or
2
   double.  */
3
/* { dg-do compile } */
4
/* { dg-options "-mfpmath=387 -O2 -fno-math-errno -fexcess-precision=standard" } */
5
 
6
float f;
7
double d;
8
 
9
float fr;
10
double dr;
11
 
12
void
13
test_builtins (void)
14
{
15
  fr = __builtin_sqrtf (f);
16
  dr = __builtin_sqrt (d);
17
}
18
 
19
/* { dg-final { scan-assembler-not "fsqrt" } } */

powered by: WebSVN 2.1.0

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