Commit af3c90a6 by Kazu Hirata Committed by Kazu Hirata

h8300-protos.h: Replace emit_a_shift with output_a_shift.

	* config/h8300/h8300-protos.h: Replace emit_a_shift with
	output_a_shift.
	* config/h8300/h8300.c: Likewise.
	* config/h8300/h8300.md: Likewise.

From-SVN: r48935
parent 4cd53341
2002-01-16 Kazu Hirata <kazu@hxi.com> 2002-01-16 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300-protos.h: Replace emit_a_shift with
output_a_shift.
* config/h8300/h8300.c: Likewise.
* config/h8300/h8300.md: Likewise.
2002-01-16 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
spaces after an opcode name. spaces after an opcode name.
(pushqi1_h8300hs): Likewise. (pushqi1_h8300hs): Likewise.
......
...@@ -26,7 +26,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -26,7 +26,7 @@ Boston, MA 02111-1307, USA. */
/* Declarations for functions used in insn-output.c. */ /* Declarations for functions used in insn-output.c. */
#ifdef RTX_CODE #ifdef RTX_CODE
extern const char *emit_a_shift PARAMS ((rtx, rtx *)); extern const char *output_a_shift PARAMS ((rtx, rtx *));
extern const char *emit_a_rotate PARAMS ((int, rtx *)); extern const char *emit_a_rotate PARAMS ((int, rtx *));
extern const char *output_adds_subs PARAMS ((rtx *)); extern const char *output_adds_subs PARAMS ((rtx *));
extern const char *output_simode_bld PARAMS ((int, int, rtx[])); extern const char *output_simode_bld PARAMS ((int, int, rtx[]));
......
...@@ -2529,7 +2529,7 @@ get_shift_alg (shift_type, shift_mode, count, info) ...@@ -2529,7 +2529,7 @@ get_shift_alg (shift_type, shift_mode, count, info)
/* Emit the assembler code for doing shifts. */ /* Emit the assembler code for doing shifts. */
const char * const char *
emit_a_shift (insn, operands) output_a_shift (insn, operands)
rtx insn ATTRIBUTE_UNUSED; rtx insn ATTRIBUTE_UNUSED;
rtx *operands; rtx *operands;
{ {
...@@ -3294,7 +3294,7 @@ h8300_adjust_insn_length (insn, length) ...@@ -3294,7 +3294,7 @@ h8300_adjust_insn_length (insn, length)
shift = INTVAL (XEXP (src, 1)); shift = INTVAL (XEXP (src, 1));
/* According to ANSI, negative shift is undefined. It is /* According to ANSI, negative shift is undefined. It is
considered to be zero in this case (see function considered to be zero in this case (see function
emit_a_shift above). */ output_a_shift above). */
if (shift < 0) if (shift < 0)
shift = 0; shift = 0;
......
...@@ -1829,7 +1829,7 @@ ...@@ -1829,7 +1829,7 @@
(match_operand:QI 2 "nonmemory_operand" "KM,rn")])) (match_operand:QI 2 "nonmemory_operand" "KM,rn")]))
(clobber (match_scratch:QI 4 "=X,&r"))] (clobber (match_scratch:QI 4 "=X,&r"))]
"" ""
"* return emit_a_shift (insn, operands);" "* return output_a_shift (insn, operands);"
[(set_attr "length" "20") [(set_attr "length" "20")
(set_attr "cc" "clobber")]) (set_attr "cc" "clobber")])
...@@ -1863,7 +1863,7 @@ ...@@ -1863,7 +1863,7 @@
(match_operand:QI 2 "nonmemory_operand" "KM,rn")])) (match_operand:QI 2 "nonmemory_operand" "KM,rn")]))
(clobber (match_scratch:QI 4 "=X,&r"))] (clobber (match_scratch:QI 4 "=X,&r"))]
"" ""
"* return emit_a_shift (insn, operands);" "* return output_a_shift (insn, operands);"
[(set_attr "length" "20") [(set_attr "length" "20")
(set_attr "cc" "clobber")]) (set_attr "cc" "clobber")])
...@@ -1900,7 +1900,7 @@ ...@@ -1900,7 +1900,7 @@
(match_operand:QI 2 "nonmemory_operand" "K,rn")])) (match_operand:QI 2 "nonmemory_operand" "K,rn")]))
(clobber (match_scratch:QI 4 "=X,&r"))] (clobber (match_scratch:QI 4 "=X,&r"))]
"" ""
"* return emit_a_shift (insn, operands);" "* return output_a_shift (insn, operands);"
[(set_attr "length" "20") [(set_attr "length" "20")
(set_attr "cc" "clobber")]) (set_attr "cc" "clobber")])
......
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