URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.target/] [mips/] [rsqrt-2.c] - Rev 154
Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-mips-options "-O2 -ffast-math -mips4 -mhard-float" } */ /* { dg-final { scan-assembler "rsqrt.d" } } */ /* { dg-final { scan-assembler "rsqrt.s" } } */ extern double sqrt(double); extern float sqrtf(float); double foo(double x) { return sqrt(1.0/x); } float bar(float x) { return sqrtf(1.0f/x); }