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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [387-3.c] - Blame information for rev 714

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

Line No. Rev Author Line
1 691 jeremybenn
/* Verify that 387 mathematical constants are recognized.  */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -mfpmath=387 -mfancy-math-387" } */
4
/* { dg-final { scan-assembler "fldpi" } } */
5
 
6
long double add_pi(long double x)
7
{
8
  return x + 3.1415926535897932385128089594061862044L;
9
}
10
 

powered by: WebSVN 2.1.0

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