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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
/* Verify that 387 fsincos instruction is generated.  */
2
/* { dg-do compile } */
3
/* { dg-options "-O -ffast-math -mfpmath=387 -mfancy-math-387" } */
4
/* { dg-final { scan-assembler "fsincos" } } */
5
 
6
extern double sin (double);
7
extern double cos (double);
8
 
9
double f1(double x)
10
{
11
  return sin(x) + cos (x);
12
}
13
 

powered by: WebSVN 2.1.0

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