aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/arm/vrintaf64.c
blob: 0c393474fe0cdb3fd8a2ee22d769db13e7b8af36 (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_round (x);
}

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