loop.c (get_condition): Don't combine when either compare is MODE_CC.
authorRichard Henderson <rth@cygnus.com>
Sat, 9 May 1998 02:03:07 +0000 (19:03 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Sat, 9 May 1998 02:03:07 +0000 (19:03 -0700)
commitf283421d4a4c4f1a81b861d552ed2851991886be
tree367306fb261bfcbd826cba6c30e8a72eef7f3f20
parent760801691294e8684d7aeae69b5bc317393c0d63
loop.c (get_condition): Don't combine when either compare is MODE_CC.

* loop.c (get_condition): Don't combine when either compare is MODE_CC.
* alpha.c (alpha_emit_conditional_branch): New function.  Taken from
the body of beq; additionally set the mode of the branch to CCmode for
FP compares and not fast_math.
(alpha_emit_conditional_move): Always use a compare insn for FP
when not fast_math, as well as setting CCmode on the cmov.
* alpha.md (beq, bne, blt, et al): Call alpha_emit_conditional_branch.

From-SVN: r19645
gcc/ChangeLog
gcc/config/alpha/alpha.c
gcc/config/alpha/alpha.md
gcc/loop.c