h8300-protos.h: Update the prototypes.
authorKazu Hirata <kazu@cs.umass.edu>
Tue, 31 Dec 2002 21:06:43 +0000 (21:06 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Tue, 31 Dec 2002 21:06:43 +0000 (21:06 +0000)
* 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
gcc/config/h8300/h8300-protos.h
gcc/config/h8300/h8300.c
gcc/config/h8300/h8300.md

index 184ab7e..f924aac 100644 (file)
@@ -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.
index e18dc24..97c6749 100644 (file)
@@ -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));
index baa50bb..f2d1688 100644 (file)
@@ -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;
 {
index 1a3fcd5..e9922af 100644 (file)
 (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)])
 (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)])