aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2002-12-13 13:47:12 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2002-12-13 13:47:12 +0000
commit697d8028c20dcc2977982daf7b96396b56bf4040 (patch)
treed252aec5b1e2117876a446c5c41307edfa6668c3
parentf0caaa23bf4184320da641eec159b0ef52ac337e (diff)
downloadgcc-697d8028c20dcc2977982daf7b96396b56bf4040.zip
gcc-697d8028c20dcc2977982daf7b96396b56bf4040.tar.gz
gcc-697d8028c20dcc2977982daf7b96396b56bf4040.tar.bz2
h8300.md (addhi3_h8300): Remove the last alternative.
* config/h8300/h8300.md (addhi3_h8300): Remove the last alternative. From-SVN: r60098
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/h8300/h8300.md13
2 files changed, 12 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f8bdf77..3ac0cce 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,4 +1,10 @@
+2002-12-13 Kazu Hirata <kazu@cs.umass.edu>
+
+ * config/h8300/h8300.md (addhi3_h8300): Remove the last
+ alternative.
+
2002-12-12 Devang Patel <dpatel@apple.com>
+
* doc/invoke.texi: Document Darwin linker options, -bundle
-bind_at_load, -all_load and -arch_errors_fatal
diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md
index 8bc69aa..de6edc9 100644
--- a/gcc/config/h8300/h8300.md
+++ b/gcc/config/h8300/h8300.md
@@ -763,19 +763,18 @@
"")
(define_insn "*addhi3_h8300"
- [(set (match_operand:HI 0 "register_operand" "=r,r,r,r,r,&r")
- (plus:HI (match_operand:HI 1 "register_operand" "%0,0,0,0,0,g")
- (match_operand:HI 2 "nonmemory_operand" "L,N,J,n,r,r")))]
+ [(set (match_operand:HI 0 "register_operand" "=r,r,r,r,r")
+ (plus:HI (match_operand:HI 1 "register_operand" "%0,0,0,0,0")
+ (match_operand:HI 2 "nonmemory_operand" "L,N,J,n,r")))]
"TARGET_H8300"
"@
adds %2,%T0
subs %G2,%T0
add.b %t2,%t0
add.b %s2,%s0\;addx %t2,%t0
- add.w %T2,%T0
- mov.w %T1,%T0\;add.w %T2,%T0"
- [(set_attr "length" "2,2,2,4,2,6")
- (set_attr "cc" "none_0hit,none_0hit,clobber,clobber,set_zn,set_zn")])
+ add.w %T2,%T0"
+ [(set_attr "length" "2,2,2,4,2")
+ (set_attr "cc" "none_0hit,none_0hit,clobber,clobber,set_zn")])
(define_insn "*addhi3_h8300hs"
[(set (match_operand:HI 0 "register_operand" "=r,r,r,r,r")