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: Irix6 long doubles implemented wrong? (27_io/ostream_inserter_arith)


On Jan 30, 2003, "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> wrote:

>> From: Richard Henderson <rth@redhat.com>
>> > 
>> > unordtf2_libfunc
>> 
>> This one may be a problem.  We don't know what the actual
>> return values are for the comparison functions.  By rights
>> it ought to be a tri-state value off of EQ or NE.

> I'm not sure what you mean.  Are you saying that all the gcc
> comparison functions are tri-state (-1,0,1) or just the unord one?

There is L_compare_[sdt]f, that is tri-state, but none of the others
are, it's just that you sometimes can't distinguish unord from false
on the others, such as those of gofast.  If there's no equivalent to
the tri-state compare on IRIX, just set the corresponding entry in
optabs NULL, and GCC will find other ways to implement it, using eq,
ne, gt, ge, lt and le.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


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