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 } */
6 
7 double
foo(double x,double y)8 foo (double x, double y)
9 {
10   return __builtin_isunordered (x, y) ? x : y;
11 }
12 
13 /* { dg-final { scan-assembler-times "vselvs.f64\td\[0-9\]+" 1 } } */
14