summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-29 05:02:41 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-29 05:02:41 +0000
commitefb8347445c975249fe4a349c35fa5e7b86aee50 (patch)
tree7030b9b003c005c3855a6184d4b26bc1c8b04ecf
parent909c9c5c52a300047d0d0fd42f203d724dc10654 (diff)
downloadppe42-gcc-efb8347445c975249fe4a349c35fa5e7b86aee50.tar.gz
ppe42-gcc-efb8347445c975249fe4a349c35fa5e7b86aee50.zip
* config/h8300/h8300-protos.h: Update the prototypes of
emit_a_rotate and expand_a_rotate. * config/h8300/h8300.c (emit_a_rotate): Change the type of the first argument to 'enum rtx_code'. (expand_a_rotate): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49309 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/config/h8300/h8300-protos.h4
-rw-r--r--gcc/config/h8300/h8300.c4
3 files changed, 12 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 287b29f2524..ece5c2d7f08 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+2002-01-29 Kazu Hirata <kazu@hxi.com>
+
+ * config/h8300/h8300-protos.h: Update the prototypes of
+ emit_a_rotate and expand_a_rotate.
+ * config/h8300/h8300.c (emit_a_rotate): Change the type of the
+ first argument to 'enum rtx_code'.
+ (expand_a_rotate): Likewise.
+
2002-01-28 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300-protos.h: Update the prototype of
diff --git a/gcc/config/h8300/h8300-protos.h b/gcc/config/h8300/h8300-protos.h
index b36a998cad2..94f94faed91 100644
--- a/gcc/config/h8300/h8300-protos.h
+++ b/gcc/config/h8300/h8300-protos.h
@@ -27,7 +27,7 @@ Boston, MA 02111-1307, USA. */
/* Declarations for functions used in insn-output.c. */
#ifdef RTX_CODE
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 ((enum rtx_code, rtx *));
extern const char *output_simode_bld PARAMS ((int, rtx[]));
extern void print_operand_address PARAMS ((FILE *, rtx));
extern const char *byte_reg PARAMS ((rtx, int));
@@ -38,7 +38,7 @@ extern int do_movsi PARAMS ((rtx[]));
extern void notice_update_cc PARAMS ((rtx, rtx));
extern const char *output_logical_op PARAMS ((enum machine_mode, int, rtx *));
extern int expand_a_shift PARAMS ((enum machine_mode, int, rtx[]));
-extern int expand_a_rotate PARAMS ((int, rtx[]));
+extern int expand_a_rotate PARAMS ((enum rtx_code, rtx[]));
extern int fix_bit_operand PARAMS ((rtx *, int, enum rtx_code));
extern int h8300_adjust_insn_length PARAMS ((rtx, int));
extern void split_adds_subs PARAMS ((enum machine_mode, rtx[]));
diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c
index 6bbcae79639..603074b594a 100644
--- a/gcc/config/h8300/h8300.c
+++ b/gcc/config/h8300/h8300.c
@@ -2635,7 +2635,7 @@ output_a_shift (insn, operands)
int
expand_a_rotate (code, operands)
- int code;
+ enum rtx_code code;
rtx operands[];
{
rtx dst = operands[0];
@@ -2692,7 +2692,7 @@ expand_a_rotate (code, operands)
const char *
emit_a_rotate (code, operands)
- int code;
+ enum rtx_code code;
rtx *operands;
{
rtx dst = operands[0];
OpenPOWER on IntegriCloud