aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2003-03-02 02:31:00 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2003-03-02 02:31:00 +0000
commit36bf3f1baf679eb7db5907f4871c710501bbe42b (patch)
tree37e3735e12abe367d89d6410964c8b8c1d3cf2dd /gcc
parentfacf86acd71f614af87adeb10f28c113b209ff30 (diff)
downloadgcc-36bf3f1baf679eb7db5907f4871c710501bbe42b.zip
gcc-36bf3f1baf679eb7db5907f4871c710501bbe42b.tar.gz
gcc-36bf3f1baf679eb7db5907f4871c710501bbe42b.tar.bz2
* config/h8300/h8300.md (a peephole2): Remove dead code.
From-SVN: r63653
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/h8300/h8300.md4
2 files changed, 5 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 61dca7e..cdf5184 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2003-03-01 Kazu Hirata <kazu@cs.umass.edu>
+
+ * config/h8300/h8300.md (a peephole2): Remove dead code.
+
2003-03-01 Roger Sayle <roger@eyesopen.com>
PR c++/9367
diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md
index f97e934..06596e5 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)