This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
libgcc/optabs and unordered compares (Was: Re: Small update to reversed_comparison_code)
- To: Jeffrey Oldham <oldham at codesourcery dot com>
- Subject: libgcc/optabs and unordered compares (Was: Re: Small update to reversed_comparison_code)
- From: Jan Hubicka <jh at suse dot cz>
- Date: Fri, 2 Mar 2001 12:18:06 +0100
- Cc: jh at suse dot cz, gcc-patches at gcc dot gnu dot org, rth at cygnus dot com
- References: <20010301112031.A32309@codesourcery.com>
> 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