From: Kazu Hirata Date: Sun, 2 Mar 2003 02:31:00 +0000 (+0000) Subject: * config/h8300/h8300.md (a peephole2): Remove dead code. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=36bf3f1baf679eb7db5907f4871c710501bbe42b;p=gcc.git * config/h8300/h8300.md (a peephole2): Remove dead code. From-SVN: r63653 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 61dca7ead8f..cdf51841169 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 f97e934bd6c..06596e59dd7 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)