Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.target / arm / vrinta-ce.c
blob092d914b66a31162a3d53f18c978858f250ee83d
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 -marm -march=armv8-a" } */
5 /* { dg-add-options arm_v8_vfp } */
7 double foo (double a)
9 if (a > 3.0)
10 return __builtin_round (a);
12 return 0.0;
15 /* { dg-final { scan-assembler-times "vrinta.f64\td\[0-9\]+" 1 } } */