diff options
author | Richard Henderson <rth@gcc.gnu.org> | 2001-05-25 11:17:40 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2001-05-25 11:17:40 -0700 |
commit | 244ec848eb7a732d01248966365a64895230c708 (patch) | |
tree | acb0c1a37a4088ca3ef8ed1073d30356139e592c /gcc | |
parent | 0e03329a6f5e6abf7df9adb8331136414e6fb5a6 (diff) | |
download | gcc-244ec848eb7a732d01248966365a64895230c708.zip gcc-244ec848eb7a732d01248966365a64895230c708.tar.gz gcc-244ec848eb7a732d01248966365a64895230c708.tar.bz2 |
i386.md: Revert previous change.
* config/i386/i386.md: Revert previous change. Do not apply
the peephole if the components do not die after the sequence.
From-SVN: r42576
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/i386/i386.md | 12 |
2 files changed, 10 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8701ae3..091d66f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index da6b19e..615120f 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -15496,7 +15496,7 @@ (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)) @@ -15506,9 +15506,7 @@ (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. @@ -15533,7 +15531,7 @@ (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) @@ -15546,9 +15544,7 @@ (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))])] "") |