[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc
Subject:    Re: PowerPC Floating Point compare bug?
From:       David Edelsohn <dje () watson ! ibm ! com>
Date:       2001-05-18 15:24:51
[Download RAW message or body]

>>>>> Geoff Keating writes:

Geoff> I think the code simply has the wrong expansion in the movsfcc
Geoff> define_expand for this (rare) case---the operands need to be
Geoff> interchanged.

	The problem is that one cannot tell when the operands should be
treated reversed without doing another max/min pass, so it just isn't
worth it.  I have removed the "NE" case from the patterns.

Geoff> That code is bad in other ways, too, it doesn't allow for overflow and
Geoff> NaNs and such.

	I agree and I thought that it was conditionalized on fast-math at
one point.  I would have expected that movMMcc would be conditionalized on
fast-math or when it knows the operations will be safe (as in this case
with constants and compiler-generated values).

David

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic