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]

libgcc/optabs and unordered compares (Was: Re: Small update to reversed_comparison_code)


> Debugging revealed that gcc/optabs.c:prepare_float_lib_cmp() is sent a
> UNGE code with a DFmode mode.  The UNGE is produced from reversing an
> LT in gcc/loop.c:canonicalize_condition().  See a call to
> reversed_comparison_code().
Hmm, thinking about it more, I probably stop too soon at first crash.
The problem is that prepare_float_lib_cmp is not ready for unordered
compares.
Richard: what to do?
I guess that we should add these to libgcc and make prepare_float_lib_cmp
to handle them.

Honza


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