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] - Rev 691

Compare with Previous | Blame | View Log

/* Verify that 387 mathematical constants are recognized.  */
/* { dg-do compile } */
/* { dg-options "-O2 -mfpmath=387 -mfancy-math-387" } */
/* { dg-final { scan-assembler "fldpi" } } */
 
long double add_pi(long double x)
{
  return x + 3.1415926535897932385128089594061862044L;
}
 
 

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.