summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/nios2/nios2-custom-2.c
blob: 7f5d21a5440dec2e180b3d1e34eb218b5fe26fd0 (plain)
1
2
3
4
5
6
7
/* { dg-do compile } */

float foo (float) __attribute__ ((target ("custom-fsqrts=128")));
float foo (float x)
{
  return __builtin_custom_fsqrts (x) + __builtin_custom_fnf (128, x);
}