OSDN Git Service

* config/i386/i386.md: Revert previous change. Do not apply
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 May 2001 18:17:40 +0000 (18:17 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 May 2001 18:17:40 +0000 (18:17 +0000)
        the peephole if the components do not die after the sequence.

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

gcc/ChangeLog
gcc/config/i386/i386.md

index 8701ae3..091d66f 100644 (file)
@@ -1,3 +1,8 @@
+2001-05-25  Richard Henderson  <rth@redhat.com>
+
+       * config/i386/i386.md: Revert previous change.  Do not apply
+       the peephole if the components do not die after the sequence.
+
 2001-05-25  Joseph S. Myers  <jsm28@cam.ac.uk>
 
        * c-parse.in (array_declarator): New.  Handle C99 constructs.
@@ -16,7 +21,7 @@
        * extend.texi (Attribute Syntax): Document attributes in parameter
        array declarators.
 
-2001-05-25  Mark  <mark@codesourcery.com>
+2001-05-25  Mark Mitchell  <mark@codesourcery.com>
 
        * config/i386/i386.md: Make sure cmpstr peepholes do not 
        affect liveness information.
index da6b19e..615120f 100644 (file)
    (set (reg 17)
        (compare (match_dup 7) (match_dup 8)))
   ]
-  ""
+  "peep2_reg_dead_p (4, operands[7]) && peep2_reg_dead_p (4, operands[8])"
   [(parallel[
      (set (reg:CC 17)
          (compare:CC (mem:BLK (match_dup 4))
      (use (reg:SI 19))
      (clobber (match_dup 0))
      (clobber (match_dup 1))
-     (clobber (match_dup 2))])
-   (clobber (match_dup 7))
-   (clobber (match_dup 8))]
+     (clobber (match_dup 2))])]
   "")
 
 ;; ...and this one handles cmpstr*_1.
    (set (reg 17)
        (compare (match_dup 7) (match_dup 8)))
   ]
-  ""
+  "peep2_reg_dead_p (4, operands[7]) && peep2_reg_dead_p (4, operands[8])"
   [(parallel[
      (set (reg:CC 17)
          (if_then_else:CC (ne (match_dup 6)
      (use (reg:SI 19))
      (clobber (match_dup 0))
      (clobber (match_dup 1))
-     (clobber (match_dup 2))])
-   (clobber (match_dup 7))
-   (clobber (match_dup 8))]
+     (clobber (match_dup 2))])]
   "")