wish: optimize (x > 0.) floating point comparison.

Richard Henderson rth@cygnus.com
Wed Sep 23 21:30:00 GMT 1998


On Wed, Sep 23, 1998 at 08:57:09AM -0700, Yotam Medini wrote:
> Now that I realized how much I lack knowledge of FPU issues,
> I wonder if there are primitive FPU compare instructions with (+/- 0.0)
> with a single operand. 

No, but zero will be held in a register as needed; fcmp
really is the fastest way to do this operation.


r~



More information about the Gcc mailing list