aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRalf Gütlein <ralf.guetlein@aranea.de>2000-08-14 09:43:07 -0600
committerJeff Law <law@gcc.gnu.org>2000-08-14 09:43:07 -0600
commitc8fa6556c1071cac32c06c4f8085717cf2937675 (patch)
tree4cef9806e87c1e3fb6db94aed5ac99a0c543e522 /gcc
parent2c54abce9c79f2f56c6a7c90855e980e267a8014 (diff)
downloadgcc-c8fa6556c1071cac32c06c4f8085717cf2937675.zip
gcc-c8fa6556c1071cac32c06c4f8085717cf2937675.tar.gz
gcc-c8fa6556c1071cac32c06c4f8085717cf2937675.tar.bz2
* h8300.md: Remove obsolete peepholes.
From-SVN: r35678
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/h8300/h8300.md47
2 files changed, 4 insertions, 47 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 62ef21d..524ee83 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2000-08-13 Ralf Gütlein <ralf.guetlein@aranea.de>
+
+ * h8300.md: Remove obsolete peepholes.
+
2000-08-13 Kazu Hirata <kazu@hxi.com>
* invoke.texi (H8/300 Options): Fix typos.
diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md
index 8b9c95e..1a3f662 100644
--- a/gcc/config/h8300/h8300.md
+++ b/gcc/config/h8300/h8300.md
@@ -2262,50 +2262,3 @@
[(set_attr "cc" "clobber")
(set_attr "length" "6")
(set_attr "adjust_length" "no")])
-
-
-;; ----------------------------------------------
-;; Peepholes go at the end.
-;; ----------------------------------------------
-
-;; Notice a move which could be post incremented.
-
-(define_peephole
- [(set (match_operand:QI 0 "register_operand" "")
- (mem:QI (match_operand:HI 1 "register_operand" "")))
- (set (match_dup 1) (plus:HI (match_dup 1) (const_int 1)))]
- "REGNO (operands[1]) != REGNO (operands[0])"
- "mov.b @%T1+,%X0"
- [(set_attr "length" "2")
- (set_attr "cc" "set_znv")])
-
-(define_peephole
- [(set (match_operand:HI 0 "register_operand" "")
- (mem:HI (match_operand:HI 1 "register_operand" "")))
- (set (match_dup 1) (plus:HI (match_dup 1) (const_int 2)))]
- "REGNO (operands[1]) != REGNO (operands[0])"
- "mov.w @%T1+,%T0"
- [(set_attr "length" "2")
- (set_attr "cc" "set_znv")])
-
-;; Notice a move which could be predecremented.
-
-(define_peephole
- [(set (match_operand:HI 1 "register_operand" "")
- (plus:HI (match_dup 1) (const_int -1)))
- (set (mem:QI (match_dup 1))
- (match_operand:QI 0 "register_operand" ""))]
- "REGNO (operands[1]) != REGNO (operands[0])"
- "mov.b %X0,@-%T1"
- [(set_attr "length" "2")
- (set_attr "cc" "set_znv")])
-
-(define_peephole
- [(set (match_operand:HI 1 "register_operand" "")
- (plus:HI (match_dup 1) (const_int -2)))
- (set (mem:HI (match_dup 1))
- (match_operand:HI 0 "register_operand" ""))]
- "REGNO (operands[1]) != REGNO (operands[0])"
- "mov.w %T0,@-%T1"
- [(set_attr "length" "2")
- (set_attr "cc" "set_znv")])