rs6000.c (scc_comparison_operator): Make equivalent to branch_positive_comparison_ope...
authorGeoffrey Keating <geoffk@apple.com>
Sat, 3 May 2003 23:13:57 +0000 (23:13 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Sat, 3 May 2003 23:13:57 +0000 (23:13 +0000)
commitb7053a3fde13f48ed6eb33ea89071aeebb4fc6f5
treef054e814f62413cf6e3443cf5292aa88ea2fee42
parent8d90f9c0298713f74874d30bdf155597c33629ae
rs6000.c (scc_comparison_operator): Make equivalent to branch_positive_comparison_operator.

* config/rs6000/rs6000.c (scc_comparison_operator): Make equivalent
to branch_positive_comparison_operator.
(ccr_bit): Check that sCOND conditions are actually a positive bit.
(print_operand): Remove %D substitution.
(rs6000_emit_sCOND): Generate complement operation to ensure that
sCOND input is a positive bit.
* config/rs6000/rs6000.md: Rearrange sCOND templates to be in the
same order as bCOND, and add the missing ones.  Remove the %D
substitutions from the scc patterns.

From-SVN: r66441
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.md