aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2003-01-21 04:01:07 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2003-01-21 04:01:07 +0000
commit309c52b51ba698b2a9b9baa025fcb07a5b067fcf (patch)
tree0712816cb062380fc801b66f52ffff367cb0c5e7 /gcc
parentb30686ec5e42a0c69de35b79cd2147bc80d0bdad (diff)
downloadgcc-309c52b51ba698b2a9b9baa025fcb07a5b067fcf.zip
gcc-309c52b51ba698b2a9b9baa025fcb07a5b067fcf.tar.gz
gcc-309c52b51ba698b2a9b9baa025fcb07a5b067fcf.tar.bz2
h8300.md (addsi_h8300): Remove the last alternative.
* config/h8300/h8300.md (addsi_h8300): Remove the last alternative. From-SVN: r61530
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/h8300/h8300.md13
2 files changed, 11 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 86cc7f0..8800acb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2003-01-20 Kazu Hirata <kazu@cs.umass.edu>
+ * config/h8300/h8300.md (addsi_h8300): Remove the last
+ alternative.
+
+2003-01-20 Kazu Hirata <kazu@cs.umass.edu>
+
* config/h8300/h8300.c (get_shift_alg): Remove redundant code.
2003-01-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md
index 0388ff2..7c1ab21 100644
--- a/gcc/config/h8300/h8300.md
+++ b/gcc/config/h8300/h8300.md
@@ -855,16 +855,15 @@
"")
(define_insn "addsi_h8300"
- [(set (match_operand:SI 0 "register_operand" "=r,r,&r")
- (plus:SI (match_operand:SI 1 "register_operand" "%0,0,r")
- (match_operand:SI 2 "nonmemory_operand" "n,r,r")))]
+ [(set (match_operand:SI 0 "register_operand" "=r,r")
+ (plus:SI (match_operand:SI 1 "register_operand" "%0,0")
+ (match_operand:SI 2 "nonmemory_operand" "n,r")))]
"TARGET_H8300"
"@
add %w2,%w0\;addx %x2,%x0\;addx %y2,%y0\;addx %z2,%z0
- add.w %f2,%f0\;addx %y2,%y0\;addx %z2,%z0
- mov.w %f1,%f0\;mov.w %e1,%e0\;add.w %f2,%f0\;addx %y2,%y0\;addx %z2,%z0"
- [(set_attr "length" "8,6,10")
- (set_attr "cc" "clobber")])
+ add.w %f2,%f0\;addx %y2,%y0\;addx %z2,%z0"
+ [(set_attr "length" "8,6")
+ (set_attr "cc" "clobber,clobber")])
(define_insn "addsi_h8300h"
[(set (match_operand:SI 0 "register_operand" "=r,r")