Commit 69ff85f3 by Kazu Hirata Committed by Jeff Law

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
parent 9f759236
...@@ -35,6 +35,9 @@ Mon Jul 17 02:37:06 2000 Marc Espie <espie@openbsd.org> ...@@ -35,6 +35,9 @@ Mon Jul 17 02:37:06 2000 Marc Espie <espie@openbsd.org>
2000-07-17 Kazu Hirata <kazu@hxi.com> 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 * h8300.c (two_insn_adds_subs_operand): Improve code for detecting
profitable adds/subs sequences. profitable adds/subs sequences.
......
...@@ -418,7 +418,7 @@ ...@@ -418,7 +418,7 @@
if (which_alternative == 7) if (which_alternative == 7)
return \"clrmac\;ldmac %1,macl\"; return \"clrmac\;ldmac %1,macl\";
if (which_alternative == 8) if (which_alternative == 8)
return \"stmac macl,%0\"; return \"stmac macl,%0\";
if (GET_CODE (operands[1]) == CONST_INT) if (GET_CODE (operands[1]) == CONST_INT)
{ {
int val = INTVAL (operands[1]); int val = INTVAL (operands[1]);
...@@ -817,7 +817,7 @@ ...@@ -817,7 +817,7 @@
(sign_extend:SI (sign_extend:SI
(mem:HI (post_inc:SI (match_operand:SI 2 "register_operand" "r"))))))] (mem:HI (post_inc:SI (match_operand:SI 2 "register_operand" "r"))))))]
"TARGET_H8300S" "TARGET_H8300S"
"clrmac\;mac %2,%1" "clrmac\;mac @%2+,@%1+"
[(set_attr "length" "6") [(set_attr "length" "6")
(set_attr "cc" "none_0hit")]) (set_attr "cc" "none_0hit")])
...@@ -830,7 +830,7 @@ ...@@ -830,7 +830,7 @@
(post_inc:SI (match_operand:SI 2 "register_operand" "r"))))) (post_inc:SI (match_operand:SI 2 "register_operand" "r")))))
(match_operand:SI 3 "register_operand" "0")))] (match_operand:SI 3 "register_operand" "0")))]
"TARGET_H8300S" "TARGET_H8300S"
"mac %2,%1" "mac @%2+,@%1+"
[(set_attr "length" "4") [(set_attr "length" "4")
(set_attr "cc" "none_0hit")]) (set_attr "cc" "none_0hit")])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment