This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ppc: fsel, min, max
On Sat, Jun 08, 2002 at 04:47:21PM -0400, David Edelsohn wrote:
> >>>>> Aldy Hernandez writes:
>
> Aldy> how in the world can i trigger generation of fsel in the rs6000 port.
>
> You need to invoke GCC with -ffast-math. See the tests for
> flag_unsafe_math_optimizations in rs6000_emit_cmove.
hmmm, i was using -funsafe-math-optimizations, since the code in
combine was checking for flag_unsafe_math_optimizations.
daniel egger sent me some code that triggers it. i'll try that.
aldy