2016-11-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
[official-gcc.git] / gcc / testsuite / gcc.target / arm / vrintrf64.c
blob3f8171898b661e154c70ddabd16e4666210c7202
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_v8_vfp_ok } */
3 /* { dg-options "-O2" } */
4 /* { dg-add-options arm_v8_vfp } */
6 double
7 foo (double x)
9 return __builtin_nearbyint (x);
12 /* { dg-final { scan-assembler-times "vrintr.f64\td\[0-9\]+" 1 } } */