aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/arm/vmaxnmsf.c
blob: bc2326187fd5a944b858377fabd25bc1a1d5b6ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-require-effective-target arm_v8_vfp_ok } */
/* { dg-options "-ffast-math" } */
/* { dg-add-options arm_v8_vfp } */

float
foo (float x, float y)
{
  return __builtin_fmaxf (x, y);
}

/* { dg-final { scan-assembler-times "vmaxnm.f32\ts\[0-9\]+" 1 } } */