2016-11-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
[official-gcc.git] / gcc / testsuite / gcc.target / arm / vselgtdf.c
blob2c4a6ba906d5460916ec6313f67138fdd84df300
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 double
7 foo (double x, double y)
9 volatile int i = 0;
10 return i > 0 ? x : y;
13 /* { dg-final { scan-assembler-times "vselgt.f64\td\[0-9\]+" 1 } } */