blob: 266b8dbd5a5d8722001e0be09856377cf3462dcc (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* { dg-do compile { target powerpc*-*-* } } */
/* { dg-options "-O -mpowerpc-gfxopt" } */
/* { dg-final { scan-assembler "fsel" } } */
/* Check that fsel can be generated even without -ffast-math. */
double foo(double a, double b, double c, double d)
{
return a < b ? c : d;
}
|