PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / arm / lceil-vcvt_1.c
blobbbe42717ad9e4c41725468174d38f0e9a2e1c9f2
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_v8_vfp_ok } */
3 /* { dg-options "-O2 -march=armv8-a" } */
4 /* { dg-add-options arm_v8_vfp } */
6 int
7 foofloat (float x)
9 return __builtin_lceilf (x);
12 /* { dg-final { scan-assembler-times "vcvtp.s32.f32\ts\[0-9\]+, s\[0-9\]+" 1 } } */
15 int
16 foodouble (double x)
18 return __builtin_lceil (x);
21 /* { dg-final { scan-assembler-times "vcvtp.s32.f64\ts\[0-9\]+, d\[0-9\]+" 1 } } */