From 36bf3f1baf679eb7db5907f4871c710501bbe42b Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 2 Mar 2003 02:31:00 +0000 Subject: [PATCH] * config/h8300/h8300.md (a peephole2): Remove dead code. From-SVN: r63653 --- gcc/ChangeLog | 4 ++++ gcc/config/h8300/h8300.md | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 61dca7ead8fb..cdf51841169e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-03-01 Kazu Hirata + + * config/h8300/h8300.md (a peephole2): Remove dead code. + 2003-03-01 Roger Sayle PR c++/9367 diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index f97e934bd6c3..06596e59dd7d 100644 --- a/gcc/config/h8300/h8300.md +++ b/gcc/config/h8300/h8300.md @@ -3564,7 +3564,6 @@ ;; dead 0x000000?? except 1 and 2 eq/ne xor.b and test ;; dead 0x0000??00 eq/ne xor.b and test ;; dead 0x0000ffff eq/ne not.w and test -;; dead 0xffff0000 eq/ne not.w and test ;; ;; dead 0xffffff?? except -1 and -2 eq/ne xor.b and not.l ;; dead 0xffff??ff eq/ne xor.b and not.l @@ -3674,8 +3673,7 @@ && peep2_reg_dead_p (1, operands[0]) && ((INTVAL (operands[1]) & 0x00ff) == INTVAL (operands[1]) || (INTVAL (operands[1]) & 0xff00) == INTVAL (operands[1]) - || INTVAL (operands[1]) == 0x0000ffff - || INTVAL (operands[1]) == 0xffff0000) + || INTVAL (operands[1]) == 0x0000ffff) && INTVAL (operands[1]) != 1 && INTVAL (operands[1]) != 2" [(set (match_dup 0) -- 2.43.5