1 /* { dg-do compile } */
2 /* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
3 /* { dg-require-effective-target arm_v8_vfp_ok } */
4 /* { dg-options "-O2 -march=armv8-a" } */
5 /* { dg-add-options arm_v8_vfp } */
10 return __builtin_lfloorf (x
);
13 /* { dg-final { scan-assembler-times "vcvtm.s32.f32\ts\[0-9\]+, s\[0-9\]+" 1 } } */
19 return __builtin_lfloor (x
);
22 /* { dg-final { scan-assembler-times "vcvtm.s32.f64\ts\[0-9\]+, d\[0-9\]+" 1 } } */