aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/tic6x/fpdiv.c
blob: e547fb457171e86fef099306707251885697f723 (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" } */
/* { dg-final { scan-assembler "rcpdp" } } */
/* { dg-final { scan-assembler "rcpsp" } } */

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

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