From 69ff85f30cfa97a0f5e4c022294af24e444fb415 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Mon, 17 Jul 2000 09:13:23 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 3 +++ gcc/config/h8300/h8300.md | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 504431c766e..29240404e4e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -35,6 +35,9 @@ Mon Jul 17 02:37:06 2000 Marc Espie 2000-07-17 Kazu Hirata + * 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 c198fab9f75..91cafa564fc 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")])