mips.c (mips_emit_compare): Don't reverse UNGE and UNGT comparisons.
authorRichard Sandiford <rsandifo@redhat.com>
Sun, 8 May 2005 09:24:45 +0000 (09:24 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sun, 8 May 2005 09:24:45 +0000 (09:24 +0000)
commit401d24f9fd3e3db3f4c678e319b66d4560357479
tree03e7132737fec10446a1ca67c4cba365d42d8839
parent6356b546458da84c63596f9a377593de262e06bf
mips.c (mips_emit_compare): Don't reverse UNGE and UNGT comparisons.

* config/mips/mips.c (mips_emit_compare): Don't reverse UNGE and UNGT
comparisons.
* config/mips/mips.md (swapped_fcond): New code macro and attribute.
(sgt_<mode>, sge_<mode>): Generalize to all members of swapped_fcond,
including sunge_<mode> and sungt_<mode>.

From-SVN: r99380
gcc/ChangeLog
gcc/config/mips/mips.c
gcc/config/mips/mips.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/mips/fpcmp-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/mips/fpcmp-2.c [new file with mode: 0644]