OSDN Git Service

Fix a problem with setting CR when splitting into rotlsi3.
authorfjahanian <fjahanian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Oct 2004 16:17:43 +0000 (16:17 +0000)
committerfjahanian <fjahanian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Oct 2004 16:17:43 +0000 (16:17 +0000)
OKed by Alan Modra.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89587 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/rs6000/rs6000.md

index 916baf2..5037e23 100644 (file)
@@ -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
index cd65f74..4a80c7d 100644 (file)
   "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]);