2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
authorm.hayes <m.hayes@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 5 Feb 2000 00:05:12 +0000 (00:05 +0000)
committerm.hayes <m.hayes@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 5 Feb 2000 00:05:12 +0000 (00:05 +0000)
* config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
(c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
(c4x_cpu_version): Ditto.
* config/c4x/c4x-protos.h: ... here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31799 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/c4x/c4x-protos.h
gcc/config/c4x/c4x.h

index f13535e..54640ac 100644 (file)
@@ -1,3 +1,10 @@
+2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
+
+       * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
+       (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
+       (c4x_cpu_version): Ditto.
+       * config/c4x/c4x-protos.h: ... here.
+
 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
 
        * dwarf2out.c (add_abstract_origin_attribute): Don't call
index 810c052..3e4439b 100644 (file)
@@ -65,6 +65,8 @@ extern struct rtx_def *c4x_gen_compare_reg PARAMS ((enum rtx_code, rtx, rtx));
 
 extern int c4x_check_legit_addr PARAMS ((enum machine_mode, rtx, int));
 
+extern int c4x_hard_regno_mode_ok PARAMS ((int, enum machine_mode));
+
 extern struct rtx_def *c4x_legitimize_address PARAMS ((rtx,
                                                       enum machine_mode));
 
@@ -262,5 +264,14 @@ extern rtx floatunshiqf2_libfunc;
 extern rtx floathihf2_libfunc;
 extern rtx floatunshihf2_libfunc;
 
+extern struct rtx_def *c4x_compare_op0;        /* Operand 0 for comparisons.  */
+extern struct rtx_def *c4x_compare_op1;        /* Operand 1 for comparisons.  */
+
 #endif /* RTX_CODE */
 
+/* Smallest class containing REGNO.  */
+extern enum reg_class c4x_regclass_map[];
+extern enum machine_mode c4x_caller_save_map[];
+
+extern int c4x_rpts_cycles;            /* Max cycles for RPTS.  */
+extern int c4x_cpu_version;            /* Cpu version C30/31/32/40/44.  */
index 2a5bd61..9de9735 100644 (file)
@@ -818,7 +818,7 @@ enum reg_class
      (IS_INDEX_REGNO(REGNO) || IS_INDEX_REGNO((unsigned)reg_renumber[REGNO]))
 
 /* If we have to generate framepointer + constant prefer an ADDR_REGS
-   register. This avoids using EXT_REGS in addqi3_noclobber_reload.  */
+   register.  This avoids using EXT_REGS in addqi3_noclobber_reload.  */
 
 #define PREFERRED_RELOAD_CLASS(X, CLASS)                       \
      (GET_CODE (X) == PLUS                                     \
@@ -2672,16 +2672,3 @@ if (final_sequence != NULL_RTX)          \
   {"parallel_operand", {SUBREG, REG, MEM}},                    \
   {"symbolic_address_operand", {SYMBOL_REF, LABEL_REF, CONST}},        \
   {"mem_operand", {MEM}},                                      
-
-
-/* Variables in c4x.c */
-
-/* Smallest class containing REGNO.  */
-extern enum reg_class c4x_regclass_map[];
-extern enum machine_mode c4x_caller_save_map[];
-
-extern struct rtx_def *c4x_compare_op0;        /* Operand 0 for comparisons.  */
-extern struct rtx_def *c4x_compare_op1;        /* Operand 1 for comparisons.  */
-
-extern int c4x_rpts_cycles;            /* Max cycles for RPTS.  */
-extern int c4x_cpu_version;            /* Cpu version C30/31/32/40/44.  */