aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/gcc.target/tic6x/fpdiv-lib.c
blob: b138865a2ac62349cdfa74cfa8c819080816e1f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile } */
/* { dg-require-effective-target ti_c67x } */
/* { dg-options "-O2 -fno-reciprocal-math" } */
/* { dg-final { scan-assembler-not "rcpdp" } } */
/* { dg-final { scan-assembler-not "rcpsp" } } */

double f (double x, double y)
{
  return x / y;
}

float g (float x, float y)
{
  return x / y;
}