aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/mips/mips16-attributes-6.c
blob: 99bdf8c3ef6103e2f4754a2a8424291b7011ce12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-options "-mips16 addressing=absolute -mips3d" } */

static inline NOMIPS16 float
i1 (float f)
{
  return __builtin_mips_recip1_s (f);
}

float f1 (float f) { return i1 (f); }

/* { dg-final { scan-assembler "\trecip1.s\t" } } */
/* { dg-final { scan-assembler "\tjal\ti1" } } */