]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
h8300-protos.h: Update the prototype for expand_a_rotate().
authorKazu Hirata <kazu@cs.umass.edu>
Wed, 18 Feb 2004 21:50:25 +0000 (21:50 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Wed, 18 Feb 2004 21:50:25 +0000 (21:50 +0000)
* 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.

From-SVN: r78047

gcc/ChangeLog
gcc/config/h8300/h8300-protos.h
gcc/config/h8300/h8300.c
gcc/config/h8300/h8300.md

index 313f0cae750c405187426e62fb23c345b268cff8..82b99989b292800f7233be09c5fa3c102a266820 100644 (file)
@@ -1,3 +1,11 @@
+2004-02-18  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * 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  <jh@suse.cz>
 
        * simplify-rtx.c (simplify_unary_operation): Deal with logicals on
index a311362aa3396a2c4ef162e9a45221d580fb4335..a37933a8211e4b97ca0396b13f603bdf1f0d7444 100644 (file)
@@ -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[]);
index 3d9633c8c19895c51802a213a8fa264a1fa320fa..6857f80c838295e73dfd492a7356752112cca57f 100644 (file)
@@ -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];
index ad5306f9a5edf68bedf08d87fc9fcd112649b3f4..bf37b8928baa4f5ff3550da1ed96d0171f3509fd 100644 (file)
        (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")
        (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")
        (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")