PR c++/67273
[official-gcc.git] / gcc / testsuite / gcc.target / arm / vrintaf32.c
blobbea4aca551d252cf2c8b965bf6f2a56325b2d9bc
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_roundf (x);
12 /* { dg-final { scan-assembler-times "vrinta.f32\ts\[0-9\]+" 1 } } */