URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.target/] [i386/] [387-10.c] - Rev 318
Go to most recent revision | Compare with Previous | Blame | View Log
/* PR tree-optimization/24964 */ /* { dg-do compile } */ /* { dg-options "-O2 -mfpmath=387" } */ double fabs(double x); double test1(double x) { double t = fabs(x); return t*t; } double test2(double x) { double t = -x; return t*t; } /* { dg-final { scan-assembler-not "fchs" } } */ /* { dg-final { scan-assembler-not "fabs" } } */
Go to most recent revision | Compare with Previous | Blame | View Log