diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2004-10-26 16:17:43 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@gcc.gnu.org> | 2004-10-26 16:17:43 +0000 |
commit | bba11b5f6a75ffe587a3e87a3296fb4b7daae95b (patch) | |
tree | 77ea85a7e97af392f0446638e908ac6655cb08f3 | |
parent | 5372d0883b5a9f07843d082ed56e60b3351757a1 (diff) | |
download | gcc-bba11b5f6a75ffe587a3e87a3296fb4b7daae95b.zip gcc-bba11b5f6a75ffe587a3e87a3296fb4b7daae95b.tar.gz gcc-bba11b5f6a75ffe587a3e87a3296fb4b7daae95b.tar.bz2 |
Fix a problem with setting CR when splitting into rotlsi3.
OKed by Alan Modra.
From-SVN: r89587
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.md | 15 |
2 files changed, 12 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 916baf2..5037e23 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-10-26 Fariborz Jahanian <fjahanian@apple.com> + + * config/rs6000/rs6000.md (andsi3_internal8): Set CR when splitting + into rotlsi3. + 2004-10-26 Kazu Hirata <kazu@cs.umass.edu> * stmt.c (expand_case): Remove code to handle SWITCH_EXPR with diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index cd65f74..4a80c7d 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -2445,15 +2445,14 @@ "TARGET_POWERPC64" "#" "TARGET_POWERPC64" - [(parallel [(set (match_dup 3) - (compare:CC (and:SI (rotate:SI (match_dup 1) (match_dup 4)) - (match_dup 5)) - (const_int 0))) - (set (match_dup 0) + [(set (match_dup 0) (and:SI (rotate:SI (match_dup 1) (match_dup 4)) - (match_dup 5)))]) - (set (match_dup 0) - (rotate:SI (match_dup 0) (match_dup 6)))] + (match_dup 5))) + (parallel [(set (match_dup 3) + (compare:CC (rotate:SI (match_dup 0) (match_dup 6)) + (const_int 0))) + (set (match_dup 0) + (rotate:SI (match_dup 0) (match_dup 6)))])] " { int mb = extract_MB (operands[2]); |