This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [PATCH]: Expand finite() as inline i386 asm


On Thu, Feb 01, 2007 at 09:44:27AM +0100, Uros Bizjak wrote:
> Please consider soft-float targets.

I'm perfectly fine with soft-float targets implementing this
with integer operations.  The generic code can easily identify
this by noticing the non-existance of the appropriate compare
operations.

> BTW: I have done some measurements for different implementations, and
> for targets without fucomi(p) insn, fxam is faster that fabs/fucompp
> sequence.

Good to know.  I suspect that ia64 will want to implement these
operations with the special fclass instruction as well, so the
optabs should probably stay around.

But please rename the optab to isfinite, rather than just finite.


r~


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