PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / arm / vsellesf.c
blob38b06ebb5c72d3b606a45b14f3158a889d7b3884
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_arch_v8a_ok */
3 /* { dg-require-effective-target arm_v8_vfp_ok } */
4 /* { dg-options "-O2 -mcpu=cortex-a57" } */
5 /* { dg-add-options arm_v8_vfp } */
7 float
8 foo (float x, float y)
10 volatile int i = 0;
11 return i <= 0 ? x : y;
14 /* { dg-final { scan-assembler-times "vselgt.f32\ts\[0-9\]+" 1 } } */