From 244ec848eb7a732d01248966365a64895230c708 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 25 May 2001 11:17:40 -0700 Subject: [PATCH] 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 --- gcc/ChangeLog | 7 ++++++- gcc/config/i386/i386.md | 12 ++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8701ae30e45..091d66f5341 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-05-25 Richard Henderson + + * 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 * 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 +2001-05-25 Mark Mitchell * 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 da6b19e3d4d..615120fa369 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))])] "") -- 2.30.2