aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@hxi.com>2002-01-17 00:25:29 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2002-01-17 00:25:29 +0000
commitaf3c90a633235d3bf44478bfde98c0ca4c163116 (patch)
tree9c9264cdc43cb8b7d79ea2a24342a903c8b8d3c1
parent4cd533411e92177f1e3a997b58cdbe7a825cf215 (diff)
downloadgcc-af3c90a633235d3bf44478bfde98c0ca4c163116.zip
gcc-af3c90a633235d3bf44478bfde98c0ca4c163116.tar.gz
gcc-af3c90a633235d3bf44478bfde98c0ca4c163116.tar.bz2
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
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/h8300/h8300-protos.h2
-rw-r--r--gcc/config/h8300/h8300.c4
-rw-r--r--gcc/config/h8300/h8300.md6
4 files changed, 13 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cc8f8f6..79b1d90 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,12 @@
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
spaces after an opcode name.
(pushqi1_h8300hs): Likewise.
diff --git a/gcc/config/h8300/h8300-protos.h b/gcc/config/h8300/h8300-protos.h
index 57e5bd4..0622f5b 100644
--- a/gcc/config/h8300/h8300-protos.h
+++ b/gcc/config/h8300/h8300-protos.h
@@ -26,7 +26,7 @@ Boston, MA 02111-1307, USA. */
/* Declarations for functions used in insn-output.c. */
#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 *output_adds_subs PARAMS ((rtx *));
extern const char *output_simode_bld PARAMS ((int, int, rtx[]));
diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c
index 26cc30a..c308551 100644
--- a/gcc/config/h8300/h8300.c
+++ b/gcc/config/h8300/h8300.c
@@ -2529,7 +2529,7 @@ get_shift_alg (shift_type, shift_mode, count, info)
/* Emit the assembler code for doing shifts. */
const char *
-emit_a_shift (insn, operands)
+output_a_shift (insn, operands)
rtx insn ATTRIBUTE_UNUSED;
rtx *operands;
{
@@ -3294,7 +3294,7 @@ h8300_adjust_insn_length (insn, length)
shift = INTVAL (XEXP (src, 1));
/* According to ANSI, negative shift is undefined. It is
considered to be zero in this case (see function
- emit_a_shift above). */
+ output_a_shift above). */
if (shift < 0)
shift = 0;
diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md
index e2b80c4..a6d5de4 100644
--- a/gcc/config/h8300/h8300.md
+++ b/gcc/config/h8300/h8300.md
@@ -1829,7 +1829,7 @@
(match_operand:QI 2 "nonmemory_operand" "KM,rn")]))
(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 "cc" "clobber")])
@@ -1863,7 +1863,7 @@
(match_operand:QI 2 "nonmemory_operand" "KM,rn")]))
(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 "cc" "clobber")])
@@ -1900,7 +1900,7 @@
(match_operand:QI 2 "nonmemory_operand" "K,rn")]))
(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 "cc" "clobber")])