aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2002-12-31 21:06:43 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2002-12-31 21:06:43 +0000
commitbc455f9ce7118a4ebca13655e665fdd90086bb17 (patch)
treed142314962a0bd9fe03bfa445e3887ca468892da
parentf1aba0a5663a6c2749aeb0cac3449e2b736b835f (diff)
downloadgcc-bc455f9ce7118a4ebca13655e665fdd90086bb17.zip
gcc-bc455f9ce7118a4ebca13655e665fdd90086bb17.tar.gz
gcc-bc455f9ce7118a4ebca13655e665fdd90086bb17.tar.bz2
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
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/config/h8300/h8300-protos.h4
-rw-r--r--gcc/config/h8300/h8300.c4
-rw-r--r--gcc/config/h8300/h8300.md4
4 files changed, 15 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 184ab7e..f924aac 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,12 @@
+2002-12-31 Kazu Hirata <kazu@cs.umass.edu>
+
+ * 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 <tromey@redhat.com>
* doc/install.texi (Testing): Fixed typo.
diff --git a/gcc/config/h8300/h8300-protos.h b/gcc/config/h8300/h8300-protos.h
index e18dc24..97c6749 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 baa50bb..f2d1688 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 1a3fcd5..e9922af 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)])