This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [rs6000] Improve FP comparisons with -fno-trapping-math
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 29 May 2013 12:25:49 -0400
- Subject: Re: [rs6000] Improve FP comparisons with -fno-trapping-math
* config/rs6000/predicates.md (rs6000_cbranch_operator): Accept some
unordered comparison operators when -fno-trapping-math is in effect
on the e500.
* config/rs6000/rs6000.c (rs6000_generate_compare): Remove dead code
and implement unordered comparison operators properly on the e500.
I'm okay with most of the change, but I have a question: What happened
to the unsigned comparisons and LTGT?
I'm not going to insist, but this probably deserves an e500-specific
testcase that it's generating the correct results and not calling
libgcc for unordered comparisons.
Thanks, David