PR c++/67273
[official-gcc.git] / gcc / testsuite / gcc.target / arm / vrintrf32.c
blobf1b03be5c9d8245aee67a7a309faf8a7fcb91159
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 float
7 foo (float x)
9 return __builtin_nearbyintf (x);
12 /* { dg-final { scan-assembler-times "vrintr.f32\ts\[0-9\]+" 1 } } */