2016-11-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
[official-gcc.git] / gcc / testsuite / gcc.target / arm / vselgtsf.c
blob388e74c111443b8fc1ca81dabdf85857995d3fcd
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_v8_vfp_ok } */
3 /* { dg-options "-O2" } */
4 /* { dg-add-options arm_v8_vfp } */
6 float
7 foo (float x, float y)
9 volatile int i = 0;
10 return i > 0 ? x : y;
13 /* { dg-final { scan-assembler-times "vselgt.f32\ts\[0-9\]+" 1 } } */