Commit bab6226b by Geoff Keating Committed by Geoffrey Keating

rs6000.c (rs6000_reverse_condition): Return the result.

	* config/rs6000/rs6000.c (rs6000_reverse_condition): Return
	the result.

From-SVN: r36208
parent 67d08194
2000-09-06 Geoff Keating <geoffk@cygnus.com>
* config/rs6000/rs6000.c (rs6000_reverse_condition): Return
the result.
2000-09-06 Gabriel Dos Reis <gdr@codesourcery.com> 2000-09-06 Gabriel Dos Reis <gdr@codesourcery.com>
* toplev.c (display_help): Fix thinko in documentation. * toplev.c (display_help): Fix thinko in documentation.
...@@ -83,6 +88,7 @@ ...@@ -83,6 +88,7 @@
(output_cbranch): The length of a long branch insn is (output_cbranch): The length of a long branch insn is
now only 8 bytes. Add validate_condition_mode. Use now only 8 bytes. Add validate_condition_mode. Use
rs6000_reverse_condition. Remove cror generation. rs6000_reverse_condition. Remove cror generation.
* config/rs6000/rs6000.h: Update comments. * config/rs6000/rs6000.h: Update comments.
(PREDICATE_CODES): Add new predicate. Update codes used (PREDICATE_CODES): Add new predicate. Update codes used
by branch_comparison_operator and scc_comparison_operator. by branch_comparison_operator and scc_comparison_operator.
......
...@@ -4444,9 +4444,9 @@ rs6000_reverse_condition (mode, code) ...@@ -4444,9 +4444,9 @@ rs6000_reverse_condition (mode, code)
/* Reversal of FP compares takes care -- an ordered compare /* Reversal of FP compares takes care -- an ordered compare
becomes an unordered compare and vice versa. */ becomes an unordered compare and vice versa. */
if (mode == CCFPmode) if (mode == CCFPmode)
code = reverse_condition_maybe_unordered (code); return reverse_condition_maybe_unordered (code);
else else
code = reverse_condition (code); return reverse_condition (code);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment