URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [sh/] [sh4a-sin.c] - Rev 697
Go to most recent revision | Compare with Previous | Blame | View Log
/* Verify that we generate single-precision sine and cosine approximate (fsca) in fast math mode on SH4A with FPU. */ /* { dg-do compile { target "sh*-*-*" } } */ /* { dg-options "-O -ffast-math" } */ /* { dg-skip-if "" { "sh*-*-*" } { "*" } { "-m4a" "-m4a-single" "-m4a-single-only" } } */ /* { dg-final { scan-assembler "fsca" } } */ #include <math.h> double test(double f) { return sin(f); }
Go to most recent revision | Compare with Previous | Blame | View Log