mfmovd.c: Extend list of supported targets.
[gcc.git] / gcc / testsuite / gcc.target / sh / sh4a-sincos.c
1 /* Verify that we generate a single single-precision sine and cosine
2 approximate (fsca) in fast math mode when a function computes both
3 sine and cosine. */
4 /* { dg-do compile { target "sh*-*-*" } } */
5 /* { dg-options "-O -ffast-math" } */
6 /* { dg-skip-if "" { "sh*-*-*" } { "*" } { "-m4a" "-m4a-single" "-m4a-single-only" } } */
7 /* { dg-final { scan-assembler-times "fsca" 1 } } */
8
9 #include <math.h>
10
11 double test(double f) { return sin(f) + cos(f); }
12