gcc/testsuite/gcc.target/csky/fpuv3/fpv3_fnmuls.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-skip-if "test is specific to ck860f" { csky-*-* } { "*" } { "-mcpu=ck860*f* -mfloat-abi=hard" "-mcpu=ck860*f* -mhard-float" } } */ |
| 3 | /* { dg-options "-O2" } */ |
| 4 | |
| 5 | float fnmula32(float a, float b, float c){ |
| 6 | return -a + b * c; |
| 7 | } |
| 8 | |
| 9 | double fnmula64(double a, double b, double c){ |
| 10 | return -a + b * c; |
| 11 | } |
| 12 | |
| 13 | /* { dg-final { scan-assembler "ffnmuls\.32" } }*/ |
| 14 | /* { dg-final { scan-assembler "ffnmuls\.64" } }*/ |