diff options
author | Geoff Keating <geoffk@cygnus.com> | 2000-09-06 20:38:19 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2000-09-06 20:38:19 +0000 |
commit | bab6226b6bcaa60ba346f5c082ab9284cbb53d1b (patch) | |
tree | 2d14455ecf8a5295e172cb0501a902c002651446 /gcc | |
parent | 67d08194ae5d73e476e69df50f21a610d6cb9686 (diff) | |
download | gcc-bab6226b6bcaa60ba346f5c082ab9284cbb53d1b.zip gcc-bab6226b6bcaa60ba346f5c082ab9284cbb53d1b.tar.gz gcc-bab6226b6bcaa60ba346f5c082ab9284cbb53d1b.tar.bz2 |
rs6000.c (rs6000_reverse_condition): Return the result.
* config/rs6000/rs6000.c (rs6000_reverse_condition): Return
the result.
From-SVN: r36208
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bb11b06..e1f6560 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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> * toplev.c (display_help): Fix thinko in documentation. @@ -83,6 +88,7 @@ (output_cbranch): The length of a long branch insn is now only 8 bytes. Add validate_condition_mode. Use rs6000_reverse_condition. Remove cror generation. + * config/rs6000/rs6000.h: Update comments. (PREDICATE_CODES): Add new predicate. Update codes used by branch_comparison_operator and scc_comparison_operator. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index c1771f5..1487ebf 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -4444,9 +4444,9 @@ rs6000_reverse_condition (mode, code) /* Reversal of FP compares takes care -- an ordered compare becomes an unordered compare and vice versa. */ if (mode == CCFPmode) - code = reverse_condition_maybe_unordered (code); + return reverse_condition_maybe_unordered (code); else - code = reverse_condition (code); + return reverse_condition (code); } |