2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / ppc-fsel-1.c
blob266b8dbd5a5d8722001e0be09856377cf3462dcc
1 /* { dg-do compile { target powerpc*-*-* } } */
2 /* { dg-options "-O -mpowerpc-gfxopt" } */
3 /* { dg-final { scan-assembler "fsel" } } */
5 /* Check that fsel can be generated even without -ffast-math. */
7 double foo(double a, double b, double c, double d)
9 return a < b ? c : d;