sparc.c (sparc_emit_float_lib_cmp): Handle TARGET_ARCH32 again.
authorJakub Jelinek <jakub@redhat.com>
Wed, 26 Jan 2000 20:14:10 +0000 (21:14 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 26 Jan 2000 20:14:10 +0000 (21:14 +0100)
commit5c5c34a4cb563453ca1f30af9ee6499742a39e45
tree8e4067bc28c66c251c9d71f70e3f4bc0a717fbde
parentec8b18a48b948790ec93684bdaff9433baedba13
sparc.c (sparc_emit_float_lib_cmp): Handle TARGET_ARCH32 again.

* config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
using _Qp_cmp/_Q_cmp and testing the return value.
(print_operand): Call reverse_condition_maybe_unordered if
we are handling CCFPmode or CCFPEmode.
Handle ORDERED, UN* and LTGT comparisons.
* config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
if not TARGET_HARD_QUAD.
(seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
Adjust gen_b* calls so that they reflect return comparison of
sparc_emit_float_lib_cmp.

From-SVN: r31631
gcc/ChangeLog
gcc/config/sparc/sparc.c
gcc/config/sparc/sparc.md