aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/arm/vrintxf64.c
blob: 9b8604887953744bd5975692282db6308d6c4b7d (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 "-O2" } */
/* { dg-add-options arm_v8_vfp } */

double
foo (double x)
{
  return __builtin_rint (x);
}

/* { dg-final { scan-assembler-times "vrintx.f64\td\[0-9\]+" 1 } } */