This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]