From bc455f9ce7118a4ebca13655e665fdd90086bb17 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Tue, 31 Dec 2002 21:06:43 +0000 Subject: [PATCH] h8300-protos.h: Update the prototypes. * config/h8300/h8300-protos.h: Update the prototypes. * config/h8300/h8300.c (const_le_2_operand): Change to const_int_le_2_operand. (const_int_le_6_operand): Change to const_int_le_6_operand. * config/h8300/h8300.md (two peepholes): Update the function names. From-SVN: r60719 --- gcc/ChangeLog | 9 +++++++++ gcc/config/h8300/h8300-protos.h | 4 ++-- gcc/config/h8300/h8300.c | 4 ++-- gcc/config/h8300/h8300.md | 4 ++-- 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 184ab7e8616..f924aacb606 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2002-12-31 Kazu Hirata + + * config/h8300/h8300-protos.h: Update the prototypes. + * config/h8300/h8300.c (const_le_2_operand): Change to + const_int_le_2_operand. + (const_int_le_6_operand): Change to const_int_le_6_operand. + * config/h8300/h8300.md (two peepholes): Update the function + names. + 2002-12-31 Tom Tromey * doc/install.texi (Testing): Fixed typo. diff --git a/gcc/config/h8300/h8300-protos.h b/gcc/config/h8300/h8300-protos.h index e18dc247627..97c674960f4 100644 --- a/gcc/config/h8300/h8300-protos.h +++ b/gcc/config/h8300/h8300-protos.h @@ -62,8 +62,8 @@ extern int small_call_insn_operand PARAMS ((rtx, enum machine_mode)); extern int jump_address_operand PARAMS ((rtx, enum machine_mode)); extern int bit_operand PARAMS ((rtx, enum machine_mode)); extern int bit_memory_operand PARAMS ((rtx, enum machine_mode)); -extern int const_le_2_operand PARAMS ((rtx, enum machine_mode)); -extern int const_le_6_operand PARAMS ((rtx, enum machine_mode)); +extern int const_int_le_2_operand PARAMS ((rtx, enum machine_mode)); +extern int const_int_le_6_operand PARAMS ((rtx, enum machine_mode)); extern int const_int_qi_operand PARAMS ((rtx, enum machine_mode)); extern int const_int_hi_operand PARAMS ((rtx, enum machine_mode)); extern int incdec_operand PARAMS ((rtx, enum machine_mode)); diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index baa50bb29a5..f2d1688af7f 100644 --- a/gcc/config/h8300/h8300.c +++ b/gcc/config/h8300/h8300.c @@ -1831,7 +1831,7 @@ notice_update_cc (body, insn) greater than 2. */ int -const_le_2_operand (x, mode) +const_int_le_2_operand (x, mode) rtx x; enum machine_mode mode ATTRIBUTE_UNUSED; { @@ -1843,7 +1843,7 @@ const_le_2_operand (x, mode) greater than 6. */ int -const_le_6_operand (x, mode) +const_int_le_6_operand (x, mode) rtx x; enum machine_mode mode ATTRIBUTE_UNUSED; { diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index 1a3fcd57e84..e9922afb426 100644 --- a/gcc/config/h8300/h8300.md +++ b/gcc/config/h8300/h8300.md @@ -2944,7 +2944,7 @@ (define_peephole2 [(set (cc0) (compare:HI (match_operand:HI 0 "register_operand" "") - (match_operand:HI 1 "const_le_2_operand" ""))) + (match_operand:HI 1 "const_int_le_2_operand" ""))) (set (pc) (if_then_else (match_operator 3 "eqne_operator" [(cc0) (const_int 0)]) @@ -2966,7 +2966,7 @@ (define_peephole2 [(set (cc0) (compare:SI (match_operand:SI 0 "register_operand" "") - (match_operand:SI 1 "const_le_6_operand" ""))) + (match_operand:SI 1 "const_int_le_6_operand" ""))) (set (pc) (if_then_else (match_operator 3 "eqne_operator" [(cc0) (const_int 0)]) -- 2.30.2