gcc/testsuite/gcc.target/tic6x/fpdiv-lib.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-require-effective-target ti_c67x } */ |
| 3 | /* { dg-options "-O2 -fno-reciprocal-math" } */ |
| 4 | /* { dg-final { scan-assembler-not "rcpdp" } } */ |
| 5 | /* { dg-final { scan-assembler-not "rcpsp" } } */ |
| 6 | |
| 7 | double f (double x, double y) |
| 8 | { |
| 9 | return x / y; |
| 10 | } |
| 11 | |
| 12 | float g (float x, float y) |
| 13 | { |
| 14 | return x / y; |
| 15 | } |