blob: 120f44bf01330a54c732c086db838ab195332d49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* { dg-do compile } */
/* { dg-require-effective-target arm_v8_vfp_ok } */
/* { dg-options "-O2" } */
/* { dg-add-options arm_v8_vfp } */
float
foo (float x, float y)
{
volatile int i = 0;
return i == 0 ? x : y;
}
/* { dg-final { scan-assembler-times "vseleq.f32\ts\[0-9\]+" 1 } } */
|