aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@hxi.com>2000-07-17 09:13:23 +0000
committerJeff Law <law@gcc.gnu.org>2000-07-17 03:13:23 -0600
commit69ff85f30cfa97a0f5e4c022294af24e444fb415 (patch)
treebbdcc8af0948ca9a9360f633ac7321e200aaffed /gcc
parent9f759236eb704d50e0d4903d8dbae3736d893d3a (diff)
downloadgcc-69ff85f30cfa97a0f5e4c022294af24e444fb415.zip
gcc-69ff85f30cfa97a0f5e4c022294af24e444fb415.tar.gz
gcc-69ff85f30cfa97a0f5e4c022294af24e444fb415.tar.bz2
h8300.md: Fix the format of mac.
* h8300.md: Fix the format of mac. (movsi_h8300hs): Output a tab after stmac instead of a space. From-SVN: r35085
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/config/h8300/h8300.md6
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 504431c..2924040 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -35,6 +35,9 @@ Mon Jul 17 02:37:06 2000 Marc Espie <espie@openbsd.org>
2000-07-17 Kazu Hirata <kazu@hxi.com>
+ * h8300.md: Fix the format of mac.
+ (movsi_h8300hs): Output a tab after stmac instead of a space.
+
* h8300.c (two_insn_adds_subs_operand): Improve code for detecting
profitable adds/subs sequences.
diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md
index c198fab..91cafa5 100644
--- a/gcc/config/h8300/h8300.md
+++ b/gcc/config/h8300/h8300.md
@@ -418,7 +418,7 @@
if (which_alternative == 7)
return \"clrmac\;ldmac %1,macl\";
if (which_alternative == 8)
- return \"stmac macl,%0\";
+ return \"stmac macl,%0\";
if (GET_CODE (operands[1]) == CONST_INT)
{
int val = INTVAL (operands[1]);
@@ -817,7 +817,7 @@
(sign_extend:SI
(mem:HI (post_inc:SI (match_operand:SI 2 "register_operand" "r"))))))]
"TARGET_H8300S"
- "clrmac\;mac %2,%1"
+ "clrmac\;mac @%2+,@%1+"
[(set_attr "length" "6")
(set_attr "cc" "none_0hit")])
@@ -830,7 +830,7 @@
(post_inc:SI (match_operand:SI 2 "register_operand" "r")))))
(match_operand:SI 3 "register_operand" "0")))]
"TARGET_H8300S"
- "mac %2,%1"
+ "mac @%2+,@%1+"
[(set_attr "length" "4")
(set_attr "cc" "none_0hit")])