From a620f9df84b3c2bf1c9bc79a963b6098370a9c82 Mon Sep 17 00:00:00 2001 From: kazu Date: Wed, 18 Feb 2004 21:50:25 +0000 Subject: [PATCH] * config/h8300/h8300-protos.h: Update the prototype for expand_a_rotate(). * config/h8300/h8300.c (expand_a_rotate): Remove the first argument. * config/h8300/h8300.md: Update all callers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78047 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 8 ++++++++ gcc/config/h8300/h8300-protos.h | 2 +- gcc/config/h8300/h8300.c | 2 +- gcc/config/h8300/h8300.md | 6 +++--- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 313f0ca..82b9998 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2004-02-18 Kazu Hirata + + * config/h8300/h8300-protos.h: Update the prototype for + expand_a_rotate(). + * config/h8300/h8300.c (expand_a_rotate): Remove the first + argument. + * config/h8300/h8300.md: Update all callers. + 2004-02-18 Jan Hubicka * simplify-rtx.c (simplify_unary_operation): Deal with logicals on diff --git a/gcc/config/h8300/h8300-protos.h b/gcc/config/h8300/h8300-protos.h index a311362..a37933a 100644 --- a/gcc/config/h8300/h8300-protos.h +++ b/gcc/config/h8300/h8300-protos.h @@ -47,7 +47,7 @@ extern unsigned int compute_logical_op_length (enum machine_mode, extern int compute_logical_op_cc (enum machine_mode, rtx *); extern void expand_a_shift (enum machine_mode, int, rtx[]); extern int h8300_shift_needs_scratch_p (int, enum machine_mode); -extern int expand_a_rotate (enum rtx_code, rtx[]); +extern int expand_a_rotate (rtx[]); extern int fix_bit_operand (rtx *, enum rtx_code); extern int h8300_adjust_insn_length (rtx, int); extern void split_adds_subs (enum machine_mode, rtx[]); diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index 3d9633c..6857f80 100644 --- a/gcc/config/h8300/h8300.c +++ b/gcc/config/h8300/h8300.c @@ -3855,7 +3855,7 @@ compute_a_shift_cc (rtx insn ATTRIBUTE_UNUSED, rtx *operands) output_a_rotate () at the insn emit time. */ int -expand_a_rotate (enum rtx_code code, rtx operands[]) +expand_a_rotate (rtx operands[]) { rtx dst = operands[0]; rtx src = operands[1]; diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index ad5306f..bf37b89 100644 --- a/gcc/config/h8300/h8300.md +++ b/gcc/config/h8300/h8300.md @@ -2600,7 +2600,7 @@ (rotate:QI (match_operand:QI 1 "register_operand" "") (match_operand:QI 2 "nonmemory_operand" "")))] "" - "if (expand_a_rotate (ROTATE, operands)) DONE; else FAIL;") + "if (expand_a_rotate (operands)) DONE; else FAIL;") (define_insn "rotlqi3_1" [(set (match_operand:QI 0 "register_operand" "=r") @@ -2616,7 +2616,7 @@ (rotate:HI (match_operand:HI 1 "register_operand" "") (match_operand:QI 2 "nonmemory_operand" "")))] "" - "if (expand_a_rotate (ROTATE, operands)) DONE; else FAIL;") + "if (expand_a_rotate (operands)) DONE; else FAIL;") (define_insn "rotlhi3_1" [(set (match_operand:HI 0 "register_operand" "=r") @@ -2632,7 +2632,7 @@ (rotate:SI (match_operand:SI 1 "register_operand" "") (match_operand:QI 2 "nonmemory_operand" "")))] "TARGET_H8300H || TARGET_H8300S" - "if (expand_a_rotate (ROTATE, operands)) DONE; else FAIL;") + "if (expand_a_rotate (operands)) DONE; else FAIL;") (define_insn "rotlsi3_1" [(set (match_operand:SI 0 "register_operand" "=r") -- 2.7.4