blob: ca00b0f51040ac7ccf101b73ff4e7dad3453f00e (
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 } */
float
foo (float x)
{
return __builtin_rintf (x);
}
/* { dg-final { scan-assembler-times "vrintx.f32\ts\[0-9\]+" 1 } } */
|