summaryrefslogtreecommitdiff
path: root/gcc/config/h8300
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-22 03:03:26 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-22 03:03:26 +0000
commitb1aa7ab5e0434fef0e6aaea8a7dd9fda7519cc73 (patch)
tree63f433510d6f80627457fdf9d632f528d0c64b60 /gcc/config/h8300
parentb53db2b0460d3adca6bfc2a37df88898f7eadb5e (diff)
downloadgcc-b1aa7ab5e0434fef0e6aaea8a7dd9fda7519cc73.tar.gz
2001-03-21 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.md (movsi_h8300hs): Split the 2nd alternative into two parts. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40725 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/h8300')
-rw-r--r--gcc/config/h8300/h8300.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md
index 770d7378524..6daa4004768 100644
--- a/gcc/config/h8300/h8300.md
+++ b/gcc/config/h8300/h8300.md
@@ -399,8 +399,8 @@
(set_attr "cc" "clobber")])
(define_insn "movsi_h8300hs"
- [(set (match_operand:SI 0 "general_operand_dst" "=r,r,r,m,<,r,*a,*a,r")
- (match_operand:SI 1 "general_operand_src" "I,r,im,r,r,>,I,r,*a"))]
+ [(set (match_operand:SI 0 "general_operand_dst" "=r,r,r,r,m,<,r,*a,*a,r")
+ (match_operand:SI 1 "general_operand_src" "I,r,i,m,r,r,>,I,r,*a"))]
"(TARGET_H8300S || TARGET_H8300H)
&& (register_operand (operands[0], SImode)
|| register_operand (operands[1], SImode))"
@@ -410,11 +410,11 @@
{
case 0:
return \"sub.l %S0,%S0\";
- case 6:
- return \"clrmac\";
case 7:
- return \"clrmac\;ldmac %1,macl\";
+ return \"clrmac\";
case 8:
+ return \"clrmac\;ldmac %1,macl\";
+ case 9:
return \"stmac macl,%0\";
default:
if (GET_CODE (operands[1]) == CONST_INT)
@@ -446,8 +446,8 @@
}
return \"mov.l %S1,%S0\";
}"
- [(set_attr "length" "2,2,10,10,4,4,2,6,4")
- (set_attr "cc" "set_zn,set_znv,set_znv,set_znv,set_znv,set_znv,none_0hit,none_0hit,set_znv")])
+ [(set_attr "length" "2,2,10,10,10,4,4,2,6,4")
+ (set_attr "cc" "set_zn,set_znv,clobber,set_znv,set_znv,set_znv,set_znv,none_0hit,none_0hit,set_znv")])
(define_insn "movsf_h8300h"
[(set (match_operand:SF 0 "general_operand_dst" "=r,r,r,m,<,r")