diff options
author | Steven Bosscher <stevenb@suse.de> | 2003-12-05 09:38:33 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2003-12-05 09:38:33 +0000 |
commit | 7f68264126275b5431f08948e4595b6402593efa (patch) | |
tree | 14d790c71f3bba4b331dbcc946efd23613e3f870 /gcc | |
parent | 6429bc7c3ec8047e384ee49b6d892ac18394e6b6 (diff) | |
download | gcc-7f68264126275b5431f08948e4595b6402593efa.zip gcc-7f68264126275b5431f08948e4595b6402593efa.tar.gz gcc-7f68264126275b5431f08948e4595b6402593efa.tar.bz2 |
d30v-protos.h [...]: Convert to ISO C90 function declarations and definitions.
2003-12-05 Steven Bosscher <stevenb@suse.de>
* config/d30v/d30v-protos.h , config/d30v/d30v.c,
config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c,
config/fr30/fr30-protos.h, config/fr30/fr30.c,
config/i370/i370-protos.h, config/i370/i370.c,
config/i960/i960-protos.h, config/i960/i960.c,
config/ip2k/ip2k-protos.h, config/ip2k/ip2k.c,
config/m32r/m32r-protos.h, config/m32r/m32r.c,
config/mn10300/mn10300-protos.h, config/mn10300/mn10300.c,
config/ns32k/ns32k-protos.h, config/ns32k/ns32k.c:
Convert to ISO C90 function declarations and definitions.
See ChangeLog.9 for earlier changes.
From-SVN: r74316
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 13 | ||||
-rw-r--r-- | gcc/config/d30v/d30v-protos.h | 176 | ||||
-rw-r--r-- | gcc/config/d30v/d30v.c | 19 | ||||
-rw-r--r-- | gcc/config/dsp16xx/dsp16xx-protos.h | 112 | ||||
-rw-r--r-- | gcc/config/dsp16xx/dsp16xx.c | 12 | ||||
-rw-r--r-- | gcc/config/fr30/fr30-protos.h | 38 | ||||
-rw-r--r-- | gcc/config/fr30/fr30.c | 4 | ||||
-rw-r--r-- | gcc/config/i370/i370-protos.h | 40 | ||||
-rw-r--r-- | gcc/config/i370/i370.c | 22 | ||||
-rw-r--r-- | gcc/config/i960/i960-protos.h | 116 | ||||
-rw-r--r-- | gcc/config/i960/i960.c | 20 | ||||
-rw-r--r-- | gcc/config/ip2k/ip2k-protos.h | 104 | ||||
-rw-r--r-- | gcc/config/ip2k/ip2k.c | 52 | ||||
-rw-r--r-- | gcc/config/m32r/m32r-protos.h | 115 | ||||
-rw-r--r-- | gcc/config/m32r/m32r.c | 40 | ||||
-rw-r--r-- | gcc/config/mn10300/mn10300-protos.h | 60 | ||||
-rw-r--r-- | gcc/config/mn10300/mn10300.c | 8 | ||||
-rw-r--r-- | gcc/config/ns32k/ns32k-protos.h | 32 | ||||
-rw-r--r-- | gcc/config/ns32k/ns32k.c | 16 |
19 files changed, 497 insertions, 502 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 61904c9..a4dd711 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,16 @@ +2003-12-05 Steven Bosscher <stevenb@suse.de> + + * config/d30v/d30v-protos.h , config/d30v/d30v.c, + config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c, + config/fr30/fr30-protos.h, config/fr30/fr30.c, + config/i370/i370-protos.h, config/i370/i370.c, + config/i960/i960-protos.h, config/i960/i960.c, + config/ip2k/ip2k-protos.h, config/ip2k/ip2k.c, + config/m32r/m32r-protos.h, config/m32r/m32r.c, + config/mn10300/mn10300-protos.h, config/mn10300/mn10300.c, + config/ns32k/ns32k-protos.h, config/ns32k/ns32k.c: + Convert to ISO C90 function declarations and definitions. + 2003-12-05 Eric Botcazou <ebotcazou@libertysurf.fr> * doc/extend.texi (Constructing Calls): Add warning about diff --git a/gcc/config/d30v/d30v-protos.h b/gcc/config/d30v/d30v-protos.h index cd5be23..1f93f3b 100644 --- a/gcc/config/d30v/d30v-protos.h +++ b/gcc/config/d30v/d30v-protos.h @@ -21,118 +21,112 @@ Boston, MA 02111-1307, USA. */ /* External functions called. */ -extern void override_options PARAMS ((void)); +extern void override_options (void); #ifdef RTX_CODE -extern int short_memory_operand PARAMS ((rtx, enum machine_mode)); -extern int long_memory_operand PARAMS ((rtx, enum machine_mode)); -extern int d30v_memory_operand PARAMS ((rtx, enum machine_mode)); -extern int single_reg_memory_operand PARAMS ((rtx, enum machine_mode)); -extern int const_addr_memory_operand PARAMS ((rtx, enum machine_mode)); -extern int call_operand PARAMS ((rtx, enum machine_mode)); -extern int gpr_operand PARAMS ((rtx, enum machine_mode)); -extern int accum_operand PARAMS ((rtx, enum machine_mode)); -extern int gpr_or_accum_operand PARAMS ((rtx, enum machine_mode)); -extern int cr_operand PARAMS ((rtx, enum machine_mode)); -extern int repeat_operand PARAMS ((rtx, enum machine_mode)); -extern int flag_operand PARAMS ((rtx, enum machine_mode)); -extern int br_flag_operand PARAMS ((rtx, enum machine_mode)); -extern int br_flag_or_constant_operand PARAMS ((rtx, enum machine_mode)); -extern int gpr_br_flag_operand PARAMS ((rtx, enum machine_mode)); -extern int f0_operand PARAMS ((rtx, enum machine_mode)); -extern int f1_operand PARAMS ((rtx, enum machine_mode)); -extern int carry_operand PARAMS ((rtx, enum machine_mode)); -extern int reg_or_0_operand PARAMS ((rtx, enum machine_mode)); -extern int gpr_or_signed6_operand PARAMS ((rtx, enum machine_mode)); -extern int gpr_or_unsigned5_operand PARAMS ((rtx, enum machine_mode)); -extern int gpr_or_unsigned6_operand PARAMS ((rtx, enum machine_mode)); -extern int gpr_or_constant_operand PARAMS ((rtx, enum machine_mode)); -extern int gpr_or_dbl_const_operand PARAMS ((rtx, enum machine_mode)); -extern int gpr_or_memory_operand PARAMS ((rtx, enum machine_mode)); -extern int move_input_operand PARAMS ((rtx, enum machine_mode)); -extern int move_output_operand PARAMS ((rtx, enum machine_mode)); -extern int signed6_operand PARAMS ((rtx, enum machine_mode)); -extern int unsigned5_operand PARAMS ((rtx, enum machine_mode)); -extern int unsigned6_operand PARAMS ((rtx, enum machine_mode)); -extern int bitset_operand PARAMS ((rtx, enum machine_mode)); -extern int condexec_test_operator PARAMS ((rtx, enum machine_mode)); -extern int condexec_branch_operator PARAMS ((rtx, enum machine_mode)); -extern int condexec_unary_operator PARAMS ((rtx, enum machine_mode)); -extern int condexec_addsub_operator PARAMS ((rtx, enum machine_mode)); -extern int condexec_binary_operator PARAMS ((rtx, enum machine_mode)); -extern int condexec_shiftl_operator PARAMS ((rtx, enum machine_mode)); -extern int condexec_extend_operator PARAMS ((rtx, enum machine_mode)); -extern int branch_zero_operator PARAMS ((rtx, enum machine_mode)); -extern int cond_move_dest_operand PARAMS ((rtx, enum machine_mode)); -extern int cond_move_operand PARAMS ((rtx, enum machine_mode)); -extern int cond_exec_operand PARAMS ((rtx, enum machine_mode)); -extern int srelational_si_operator PARAMS ((rtx, enum machine_mode)); -extern int urelational_si_operator PARAMS ((rtx, enum machine_mode)); -extern int relational_di_operator PARAMS ((rtx, enum machine_mode)); +extern int short_memory_operand (rtx, enum machine_mode); +extern int long_memory_operand (rtx, enum machine_mode); +extern int d30v_memory_operand (rtx, enum machine_mode); +extern int single_reg_memory_operand (rtx, enum machine_mode); +extern int const_addr_memory_operand (rtx, enum machine_mode); +extern int call_operand (rtx, enum machine_mode); +extern int gpr_operand (rtx, enum machine_mode); +extern int accum_operand (rtx, enum machine_mode); +extern int gpr_or_accum_operand (rtx, enum machine_mode); +extern int cr_operand (rtx, enum machine_mode); +extern int repeat_operand (rtx, enum machine_mode); +extern int flag_operand (rtx, enum machine_mode); +extern int br_flag_operand (rtx, enum machine_mode); +extern int br_flag_or_constant_operand (rtx, enum machine_mode); +extern int gpr_br_flag_operand (rtx, enum machine_mode); +extern int f0_operand (rtx, enum machine_mode); +extern int f1_operand (rtx, enum machine_mode); +extern int carry_operand (rtx, enum machine_mode); +extern int reg_or_0_operand (rtx, enum machine_mode); +extern int gpr_or_signed6_operand (rtx, enum machine_mode); +extern int gpr_or_unsigned5_operand (rtx, enum machine_mode); +extern int gpr_or_unsigned6_operand (rtx, enum machine_mode); +extern int gpr_or_constant_operand (rtx, enum machine_mode); +extern int gpr_or_dbl_const_operand (rtx, enum machine_mode); +extern int gpr_or_memory_operand (rtx, enum machine_mode); +extern int move_input_operand (rtx, enum machine_mode); +extern int move_output_operand (rtx, enum machine_mode); +extern int signed6_operand (rtx, enum machine_mode); +extern int unsigned5_operand (rtx, enum machine_mode); +extern int unsigned6_operand (rtx, enum machine_mode); +extern int bitset_operand (rtx, enum machine_mode); +extern int condexec_test_operator (rtx, enum machine_mode); +extern int condexec_branch_operator (rtx, enum machine_mode); +extern int condexec_unary_operator (rtx, enum machine_mode); +extern int condexec_addsub_operator (rtx, enum machine_mode); +extern int condexec_binary_operator (rtx, enum machine_mode); +extern int condexec_shiftl_operator (rtx, enum machine_mode); +extern int condexec_extend_operator (rtx, enum machine_mode); +extern int branch_zero_operator (rtx, enum machine_mode); +extern int cond_move_dest_operand (rtx, enum machine_mode); +extern int cond_move_operand (rtx, enum machine_mode); +extern int cond_exec_operand (rtx, enum machine_mode); +extern int srelational_si_operator (rtx, enum machine_mode); +extern int urelational_si_operator (rtx, enum machine_mode); +extern int relational_di_operator (rtx, enum machine_mode); #endif -extern d30v_stack_t *d30v_stack_info PARAMS ((void)); -extern int direct_return PARAMS ((void)); +extern d30v_stack_t *d30v_stack_info (void); +extern int direct_return (void); #ifdef TREE_CODE #ifdef RTX_CODE -extern void d30v_init_cumulative_args PARAMS ((CUMULATIVE_ARGS *, tree, - rtx, tree, int)); +extern void d30v_init_cumulative_args (CUMULATIVE_ARGS *, tree, + rtx, tree, int); #endif -extern int d30v_function_arg_boundary PARAMS ((enum machine_mode, tree)); +extern int d30v_function_arg_boundary (enum machine_mode, tree); #ifdef RTX_CODE -extern rtx d30v_function_arg PARAMS ((CUMULATIVE_ARGS *, - enum machine_mode, - tree, int, int)); +extern rtx d30v_function_arg (CUMULATIVE_ARGS *, + enum machine_mode, tree, int, int); #endif -extern int d30v_function_arg_partial_nregs PARAMS ((CUMULATIVE_ARGS *, - enum machine_mode, - tree, int)); +extern int d30v_function_arg_partial_nregs (CUMULATIVE_ARGS *, + enum machine_mode, tree, int); -extern int d30v_function_arg_pass_by_reference PARAMS ((CUMULATIVE_ARGS *, - enum machine_mode, - tree, int)); +extern int d30v_function_arg_pass_by_reference (CUMULATIVE_ARGS *, + enum machine_mode, tree, int); -extern void d30v_function_arg_advance PARAMS ((CUMULATIVE_ARGS *, - enum machine_mode, - tree, int)); +extern void d30v_function_arg_advance (CUMULATIVE_ARGS *, + enum machine_mode, tree, int); #endif #ifdef RTX_CODE -extern rtx d30v_expand_builtin_saveregs PARAMS ((void)); +extern rtx d30v_expand_builtin_saveregs (void); #endif #ifdef TREE_CODE -extern void d30v_setup_incoming_varargs PARAMS ((CUMULATIVE_ARGS *, - enum machine_mode, - tree, int *, int)); +extern void d30v_setup_incoming_varargs (CUMULATIVE_ARGS *, + enum machine_mode, tree, int *, int); #ifdef RTX_CODE -extern void d30v_expand_builtin_va_start PARAMS ((tree, rtx)); -extern rtx d30v_expand_builtin_va_arg PARAMS ((tree, tree)); -#endif /* RTX_CODE */ -#endif /* TREE_CODE */ - -extern void d30v_expand_prologue PARAMS ((void)); -extern void d30v_expand_epilogue PARAMS ((void)); -extern void d30v_function_profiler PARAMS ((FILE *, int)); +extern void d30v_expand_builtin_va_start (tree, rtx); +extern rtx d30v_expand_builtin_va_arg (tree, tree); +#endif /* RTX_CODE */ +#endif /* TREE_CODE */ + +extern void d30v_expand_prologue (void); +extern void d30v_expand_epilogue (void); +extern void d30v_function_profiler (FILE *, int); #ifdef RTX_CODE -extern void d30v_split_double PARAMS ((rtx, rtx *, rtx *)); -extern void d30v_print_operand PARAMS ((FILE *, rtx, int)); -extern void d30v_print_operand_address PARAMS ((FILE *, rtx)); +extern void d30v_split_double (rtx, rtx *, rtx *); +extern void d30v_print_operand (FILE *, rtx, int); +extern void d30v_print_operand_address (FILE *, rtx); #endif -extern int d30v_trampoline_size PARAMS ((void)); +extern int d30v_trampoline_size (void); #ifdef RTX_CODE -extern void d30v_initialize_trampoline PARAMS ((rtx, rtx, rtx)); -extern int d30v_legitimate_address_p PARAMS ((enum machine_mode, rtx, int)); -extern rtx d30v_legitimize_address PARAMS ((rtx, rtx, - enum machine_mode, int)); -extern int d30v_mode_dependent_address_p PARAMS ((rtx)); -extern rtx d30v_emit_comparison PARAMS ((int, rtx, rtx, rtx)); -extern const char *d30v_move_2words PARAMS ((rtx *, rtx)); -extern int d30v_emit_cond_move PARAMS ((rtx, rtx, rtx, rtx)); -extern rtx d30v_return_addr PARAMS ((void)); +extern void d30v_initialize_trampoline (rtx, rtx, rtx); +extern int d30v_legitimate_address_p (enum machine_mode, rtx, int); +extern rtx d30v_legitimize_address (rtx, rtx, enum machine_mode, int); +extern int d30v_mode_dependent_address_p (rtx); +extern rtx d30v_emit_comparison (int, rtx, rtx, rtx); +extern const char *d30v_move_2words (rtx *, rtx); +extern int d30v_emit_cond_move (rtx, rtx, rtx, rtx); +extern rtx d30v_return_addr (void); #endif -extern void d30v_init_expanders PARAMS ((void)); -extern void debug_stack_info PARAMS ((d30v_stack_t *)); - +extern void d30v_init_expanders (void); +extern void debug_stack_info (d30v_stack_t *); + /* External variables referenced */ /* Define the information needed to generate branch and scc insns. This is diff --git a/gcc/config/d30v/d30v.c b/gcc/config/d30v/d30v.c index aadba9d..5794d0b 100644 --- a/gcc/config/d30v/d30v.c +++ b/gcc/config/d30v/d30v.c @@ -46,16 +46,15 @@ #include "target-def.h" #include "langhooks.h" -static void d30v_print_operand_memory_reference PARAMS ((FILE *, rtx)); -static void d30v_build_long_insn PARAMS ((HOST_WIDE_INT, HOST_WIDE_INT, - rtx, rtx)); -static struct machine_function * d30v_init_machine_status PARAMS ((void)); -static void d30v_output_function_prologue PARAMS ((FILE *, HOST_WIDE_INT)); -static void d30v_output_function_epilogue PARAMS ((FILE *, HOST_WIDE_INT)); -static int d30v_adjust_cost PARAMS ((rtx, rtx, rtx, int)); -static int d30v_issue_rate PARAMS ((void)); -static bool d30v_rtx_costs PARAMS ((rtx, int, int, int *)); -static tree d30v_build_builtin_va_list PARAMS ((void)); +static void d30v_print_operand_memory_reference (FILE *, rtx); +static void d30v_build_long_insn (HOST_WIDE_INT, HOST_WIDE_INT, rtx, rtx); +static struct machine_function * d30v_init_machine_status (void); +static void d30v_output_function_prologue (FILE *, HOST_WIDE_INT); +static void d30v_output_function_epilogue (FILE *, HOST_WIDE_INT); +static int d30v_adjust_cost (rtx, rtx, rtx, int); +static int d30v_issue_rate (void); +static bool d30v_rtx_costs (rtx, int, int, int *); +static tree d30v_build_builtin_va_list (void); /* Define the information needed to generate branch and scc insns. This is stored from the compare operation. */ diff --git a/gcc/config/dsp16xx/dsp16xx-protos.h b/gcc/config/dsp16xx/dsp16xx-protos.h index 7e2683f..802c69b 100644 --- a/gcc/config/dsp16xx/dsp16xx-protos.h +++ b/gcc/config/dsp16xx/dsp16xx-protos.h @@ -20,67 +20,67 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifdef RTX_CODE -extern struct rtx_def *gen_compare_reg PARAMS ((enum rtx_code, rtx, rtx)); -extern int call_address_operand PARAMS ((rtx, enum machine_mode)); -extern int arith_reg_operand PARAMS ((rtx, enum machine_mode)); -extern int symbolic_address_operand PARAMS ((rtx, enum machine_mode)); -extern int Y_address_operand PARAMS ((rtx, enum machine_mode)); -extern int sp_operand PARAMS ((rtx, enum machine_mode)); -extern int sp_operand2 PARAMS ((rtx, enum machine_mode)); -extern int nonmemory_arith_operand PARAMS ((rtx, enum machine_mode)); -extern int dsp16xx_comparison_operator PARAMS ((rtx, enum machine_mode)); -extern int unx_comparison_operator PARAMS ((rtx, enum machine_mode)); -extern int signed_comparison_operator PARAMS ((rtx, enum machine_mode)); +extern struct rtx_def *gen_compare_reg (enum rtx_code, rtx, rtx); +extern int call_address_operand (rtx, enum machine_mode); +extern int arith_reg_operand (rtx, enum machine_mode); +extern int symbolic_address_operand (rtx, enum machine_mode); +extern int Y_address_operand (rtx, enum machine_mode); +extern int sp_operand (rtx, enum machine_mode); +extern int sp_operand2 (rtx, enum machine_mode); +extern int nonmemory_arith_operand (rtx, enum machine_mode); +extern int dsp16xx_comparison_operator (rtx, enum machine_mode); +extern int unx_comparison_operator (rtx, enum machine_mode); +extern int signed_comparison_operator (rtx, enum machine_mode); -extern void notice_update_cc PARAMS ((rtx)); -extern void double_reg_from_memory PARAMS ((rtx[])); -extern void double_reg_to_memory PARAMS ((rtx[])); -extern enum rtx_code next_cc_user_code PARAMS ((rtx)); -extern int next_cc_user_unsigned PARAMS ((rtx)); -extern struct rtx_def *gen_tst_reg PARAMS ((rtx)); -extern const char *output_block_move PARAMS ((rtx[])); -extern enum reg_class preferred_reload_class PARAMS ((rtx, enum reg_class)); -extern enum reg_class secondary_reload_class PARAMS ((enum reg_class, - enum machine_mode, rtx)); -extern int emit_move_sequence PARAMS ((rtx *, enum machine_mode)); -extern void print_operand PARAMS ((FILE *, rtx, int)); -extern void print_operand_address PARAMS ((FILE *, rtx)); -extern void output_dsp16xx_float_const PARAMS ((rtx *)); -extern void emit_1600_core_shift PARAMS ((enum rtx_code, rtx *, int)); -extern int symbolic_address_p PARAMS ((rtx)); -extern int uns_comparison_operator PARAMS ((rtx, enum machine_mode)); +extern void notice_update_cc (rtx); +extern void double_reg_from_memory (rtx[]); +extern void double_reg_to_memory (rtx[]); +extern enum rtx_code next_cc_user_code (rtx); +extern int next_cc_user_unsigned (rtx); +extern struct rtx_def *gen_tst_reg (rtx); +extern const char *output_block_move (rtx[]); +extern enum reg_class preferred_reload_class (rtx, enum reg_class); +extern enum reg_class secondary_reload_class (enum reg_class, + enum machine_mode, rtx); +extern int emit_move_sequence (rtx *, enum machine_mode); +extern void print_operand (FILE *, rtx, int); +extern void print_operand_address (FILE *, rtx); +extern void output_dsp16xx_float_const (rtx *); +extern void emit_1600_core_shift (enum rtx_code, rtx *, int); +extern int symbolic_address_p (rtx); +extern int uns_comparison_operator (rtx, enum machine_mode); #endif /* RTX_CODE */ #ifdef TREE_CODE -extern struct rtx_def *dsp16xx_function_arg PARAMS ((CUMULATIVE_ARGS, - enum machine_mode, - tree, int)); -extern void dsp16xx_function_arg_advance PARAMS ((CUMULATIVE_ARGS *, - enum machine_mode, - tree, int)); +extern struct rtx_def *dsp16xx_function_arg (CUMULATIVE_ARGS, + enum machine_mode, + tree, int); +extern void dsp16xx_function_arg_advance (CUMULATIVE_ARGS *, + enum machine_mode, + tree, int); #endif /* TREE_CODE */ -extern void dsp16xx_invalid_register_for_compare PARAMS ((void)); -extern int class_max_nregs PARAMS ((enum reg_class, enum machine_mode)); -extern enum reg_class limit_reload_class PARAMS ((enum reg_class, enum machine_mode)); -extern int dsp16xx_register_move_cost PARAMS ((enum reg_class, enum reg_class)); -extern int dsp16xx_makes_calls PARAMS ((void)); -extern long compute_frame_size PARAMS ((int)); -extern int dsp16xx_call_saved_register PARAMS ((int)); -extern int dsp16xx_call_saved_register PARAMS ((int)); -extern void init_emulation_routines PARAMS ((void)); -extern int ybase_regs_ever_used PARAMS ((void)); -extern void override_options PARAMS ((void)); -extern int dsp16xx_starting_frame_offset PARAMS ((void)); -extern int initial_frame_pointer_offset PARAMS ((void)); -extern void asm_output_common PARAMS ((FILE *, const char *, int, int)); -extern void asm_output_local PARAMS ((FILE *, const char *, int, int)); -extern void asm_output_float PARAMS ((FILE *, double)); +extern void dsp16xx_invalid_register_for_compare (void); +extern int class_max_nregs (enum reg_class, enum machine_mode); +extern enum reg_class limit_reload_class (enum reg_class, enum machine_mode); +extern int dsp16xx_register_move_cost (enum reg_class, enum reg_class); +extern int dsp16xx_makes_calls (void); +extern long compute_frame_size (int); +extern int dsp16xx_call_saved_register (int); +extern int dsp16xx_call_saved_register (int); +extern void init_emulation_routines (void); +extern int ybase_regs_ever_used (void); +extern void override_options (void); +extern int dsp16xx_starting_frame_offset (void); +extern int initial_frame_pointer_offset (void); +extern void asm_output_common (FILE *, const char *, int, int); +extern void asm_output_local (FILE *, const char *, int, int); +extern void asm_output_float (FILE *, double); extern bool dsp16xx_compare_gen; -extern int hard_regno_mode_ok PARAMS ((int, enum machine_mode)); -extern enum reg_class dsp16xx_reg_class_from_letter PARAMS ((int)); -extern int regno_reg_class PARAMS ((int)); -extern void function_prologue PARAMS ((FILE *, int)); -extern void function_epilogue PARAMS ((FILE *, int)); -extern int num_1600_core_shifts PARAMS ((int)); +extern int hard_regno_mode_ok (int, enum machine_mode); +extern enum reg_class dsp16xx_reg_class_from_letter (int); +extern int regno_reg_class (int); +extern void function_prologue (FILE *, int); +extern void function_epilogue (FILE *, int); +extern int num_1600_core_shifts (int); diff --git a/gcc/config/dsp16xx/dsp16xx.c b/gcc/config/dsp16xx/dsp16xx.c index dcfbc7e..14d9c5e 100644 --- a/gcc/config/dsp16xx/dsp16xx.c +++ b/gcc/config/dsp16xx/dsp16xx.c @@ -148,12 +148,12 @@ static const char *const lshift_right_asm_first[] = "%0=%1>>16\n\t%0=%b0&0x0000" }; -static int reg_save_size PARAMS ((void)); -static void dsp16xx_output_function_prologue PARAMS ((FILE *, HOST_WIDE_INT)); -static void dsp16xx_output_function_epilogue PARAMS ((FILE *, HOST_WIDE_INT)); -static void dsp16xx_file_start PARAMS ((void)); -static bool dsp16xx_rtx_costs PARAMS ((rtx, int, int, int *)); -static int dsp16xx_address_cost PARAMS ((rtx)); +static int reg_save_size (void); +static void dsp16xx_output_function_prologue (FILE *, HOST_WIDE_INT); +static void dsp16xx_output_function_epilogue (FILE *, HOST_WIDE_INT); +static void dsp16xx_file_start (void); +static bool dsp16xx_rtx_costs (rtx, int, int, int *); +static int dsp16xx_address_cost (rtx); /* Initialize the GCC target structure. */ diff --git a/gcc/config/fr30/fr30-protos.h b/gcc/config/fr30/fr30-protos.h index c08b663..a711904 100644 --- a/gcc/config/fr30/fr30-protos.h +++ b/gcc/config/fr30/fr30-protos.h @@ -18,34 +18,34 @@ along with GCC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -extern void fr30_expand_prologue PARAMS ((void)); -extern void fr30_expand_epilogue PARAMS ((void)); -extern unsigned int fr30_compute_frame_size PARAMS ((int, int)); +extern void fr30_expand_prologue (void); +extern void fr30_expand_epilogue (void); +extern unsigned int fr30_compute_frame_size (int, int); #ifdef RTX_CODE -extern int fr30_check_multiple_regs PARAMS ((rtx *, int, int)); -extern void fr30_print_operand PARAMS ((FILE *, rtx, int)); -extern void fr30_print_operand_address PARAMS ((FILE *, rtx)); -extern rtx fr30_move_double PARAMS ((rtx *)); +extern int fr30_check_multiple_regs (rtx *, int, int); +extern void fr30_print_operand (FILE *, rtx, int); +extern void fr30_print_operand_address (FILE *, rtx); +extern rtx fr30_move_double (rtx *); #ifdef TREE_CODE -extern rtx fr30_va_arg PARAMS ((tree, tree)); +extern rtx fr30_va_arg (tree, tree); #endif /* TREE_CODE */ #ifdef HAVE_MACHINE_MODES #define Mmode enum machine_mode -extern int stack_add_operand PARAMS ((rtx, Mmode)); -extern int add_immediate_operand PARAMS ((rtx, Mmode)); -extern int high_register_operand PARAMS ((rtx, Mmode)); -extern int low_register_operand PARAMS ((rtx, Mmode)); -extern int call_operand PARAMS ((rtx, Mmode)); -extern int di_operand PARAMS ((rtx, Mmode)); -extern int nonimmediate_di_operand PARAMS ((rtx, Mmode)); -extern int fr30_const_double_is_zero PARAMS ((rtx)); +extern int stack_add_operand (rtx, Mmode); +extern int add_immediate_operand (rtx, Mmode); +extern int high_register_operand (rtx, Mmode); +extern int low_register_operand (rtx, Mmode); +extern int call_operand (rtx, Mmode); +extern int di_operand (rtx, Mmode); +extern int nonimmediate_di_operand (rtx, Mmode); +extern int fr30_const_double_is_zero (rtx); #undef Mmode #endif /* HAVE_MACHINE_MODES */ #endif /* RTX_CODE */ #ifdef TREE_CODE -extern int fr30_num_arg_regs PARAMS ((int, tree)); -extern int fr30_function_arg_partial_nregs PARAMS ((CUMULATIVE_ARGS, int, tree, int)); -extern void fr30_setup_incoming_varargs PARAMS ((CUMULATIVE_ARGS, int, tree, int *)); +extern int fr30_num_arg_regs (int, tree); +extern int fr30_function_arg_partial_nregs (CUMULATIVE_ARGS, int, tree, int); +extern void fr30_setup_incoming_varargs (CUMULATIVE_ARGS, int, tree, int *); #endif /* TREE_CODE */ diff --git a/gcc/config/fr30/fr30.c b/gcc/config/fr30/fr30.c index 4d5f12e..0b83dac 100644 --- a/gcc/config/fr30/fr30.c +++ b/gcc/config/fr30/fr30.c @@ -120,8 +120,8 @@ static struct fr30_frame_info current_frame_info; /* Zero structure to initialize current_frame_info. */ static struct fr30_frame_info zero_frame_info; -static rtx fr30_pass_by_reference PARAMS ((tree, tree)); -static rtx fr30_pass_by_value PARAMS ((tree, tree)); +static rtx fr30_pass_by_reference (tree, tree); +static rtx fr30_pass_by_value (tree, tree); #define FRAME_POINTER_MASK (1 << (FRAME_POINTER_REGNUM)) #define RETURN_POINTER_MASK (1 << (RETURN_POINTER_REGNUM)) diff --git a/gcc/config/i370/i370-protos.h b/gcc/config/i370/i370-protos.h index be2c01c4..666db0b 100644 --- a/gcc/config/i370/i370-protos.h +++ b/gcc/config/i370/i370-protos.h @@ -24,32 +24,32 @@ Boston, MA 02111-1307, USA. */ #ifndef GCC_I370_PROTOS_H #define GCC_I370_PROTOS_H -extern void override_options PARAMS ((void)); +extern void override_options (void); #ifdef RTX_CODE -extern int i370_branch_dest PARAMS ((rtx)); -extern int i370_branch_length PARAMS ((rtx)); -extern int i370_short_branch PARAMS ((rtx)); -extern int s_operand PARAMS ((rtx, enum machine_mode)); -extern int r_or_s_operand PARAMS ((rtx, enum machine_mode)); -extern int unsigned_jump_follows_p PARAMS ((rtx)); +extern int i370_branch_dest (rtx); +extern int i370_branch_length (rtx); +extern int i370_short_branch (rtx); +extern int s_operand (rtx, enum machine_mode); +extern int r_or_s_operand (rtx, enum machine_mode); +extern int unsigned_jump_follows_p (rtx); #endif /* RTX_CODE */ #ifdef TREE_CODE -extern int handle_pragma PARAMS ((int (*)(void), void (*)(int), const char *)); +extern int handle_pragma (int (*)(void), void (*)(int), const char *); #endif /* TREE_CODE */ -extern void mvs_add_label PARAMS ((int)); -extern int mvs_check_label PARAMS ((int)); -extern int mvs_check_page PARAMS ((FILE *, int, int)); -extern int mvs_function_check PARAMS ((const char *)); -extern void mvs_add_alias PARAMS ((const char *, const char *, int)); -extern int mvs_need_alias PARAMS ((const char *)); -extern int mvs_get_alias PARAMS ((const char *, char *)); -extern int mvs_check_alias PARAMS ((const char *, char *)); -extern void check_label_emit PARAMS ((void)); -extern void mvs_free_label_list PARAMS ((void)); - -extern void i370_pr_map PARAMS ((struct cpp_reader *)); +extern void mvs_add_label (int); +extern int mvs_check_label (int); +extern int mvs_check_page (FILE *, int, int); +extern int mvs_function_check (const char *); +extern void mvs_add_alias (const char *, const char *, int); +extern int mvs_need_alias (const char *); +extern int mvs_get_alias (const char *, char *); +extern int mvs_check_alias (const char *, char *); +extern void check_label_emit (void); +extern void mvs_free_label_list (void); + +extern void i370_pr_map (struct cpp_reader *); #endif /* ! GCC_I370_PROTOS_H */ diff --git a/gcc/config/i370/i370.c b/gcc/config/i370/i370.c index 0dfa3c4..2cfe4fe 100644 --- a/gcc/config/i370/i370.c +++ b/gcc/config/i370/i370.c @@ -99,22 +99,22 @@ static label_node_t *free_anchor = 0; /* Assembler source file descriptor. */ static FILE *assembler_source = 0; -static label_node_t * mvs_get_label PARAMS ((int)); -static void i370_label_scan PARAMS ((void)); +static label_node_t * mvs_get_label (int); +static void i370_label_scan (void); #ifdef TARGET_HLASM -static bool i370_hlasm_assemble_integer PARAMS ((rtx, unsigned int, int)); -static void i370_globalize_label PARAMS ((FILE *, const char *)); +static bool i370_hlasm_assemble_integer (rtx, unsigned int, int); +static void i370_globalize_label (FILE *, const char *); #endif -static void i370_output_function_prologue PARAMS ((FILE *, HOST_WIDE_INT)); -static void i370_output_function_epilogue PARAMS ((FILE *, HOST_WIDE_INT)); -static void i370_file_start PARAMS ((void)); -static void i370_file_end PARAMS ((void)); +static void i370_output_function_prologue (FILE *, HOST_WIDE_INT); +static void i370_output_function_epilogue (FILE *, HOST_WIDE_INT); +static void i370_file_start (void); +static void i370_file_end (void); #ifdef LONGEXTERNAL -static int mvs_hash_alias PARAMS ((const char *)); +static int mvs_hash_alias (const char *); #endif -static void i370_internal_label PARAMS ((FILE *, const char *, unsigned long)); -static bool i370_rtx_costs PARAMS ((rtx, int, int, int *)); +static void i370_internal_label (FILE *, const char *, unsigned long); +static bool i370_rtx_costs (rtx, int, int, int *); /* ===================================================== */ /* defines and functions specific to the HLASM assembler */ diff --git a/gcc/config/i960/i960-protos.h b/gcc/config/i960/i960-protos.h index fa7941e..269a40b 100644 --- a/gcc/config/i960/i960-protos.h +++ b/gcc/config/i960/i960-protos.h @@ -26,77 +26,77 @@ Boston, MA 02111-1307, USA. */ #define GCC_I960_PROTOS_H #ifdef RTX_CODE -extern struct rtx_def *legitimize_address PARAMS ((rtx, rtx, enum machine_mode)); +extern struct rtx_def *legitimize_address (rtx, rtx, enum machine_mode); /* Define the function that build the compare insn for scc and bcc. */ -extern struct rtx_def *gen_compare_reg PARAMS ((enum rtx_code, rtx, rtx)); +extern struct rtx_def *gen_compare_reg (enum rtx_code, rtx, rtx); /* Define functions in i960.c and used in insn-output.c. */ -extern const char *i960_output_ldconst PARAMS ((rtx, rtx)); -extern const char *i960_output_call_insn PARAMS ((rtx, rtx, rtx, rtx)); -extern const char *i960_output_ret_insn PARAMS ((rtx)); -extern const char *i960_output_move_double PARAMS ((rtx, rtx)); -extern const char *i960_output_move_double_zero PARAMS ((rtx)); -extern const char *i960_output_move_quad PARAMS ((rtx, rtx)); -extern const char *i960_output_move_quad_zero PARAMS ((rtx)); +extern const char *i960_output_ldconst (rtx, rtx); +extern const char *i960_output_call_insn (rtx, rtx, rtx, rtx); +extern const char *i960_output_ret_insn (rtx); +extern const char *i960_output_move_double (rtx, rtx); +extern const char *i960_output_move_double_zero (rtx); +extern const char *i960_output_move_quad (rtx, rtx); +extern const char *i960_output_move_quad_zero (rtx); -extern int literal PARAMS ((rtx, enum machine_mode)); -extern int hard_regno_mode_ok PARAMS ((int, enum machine_mode)); -extern int fp_literal PARAMS ((rtx, enum machine_mode)); -extern int signed_literal PARAMS ((rtx, enum machine_mode)); -extern int legitimate_address_p PARAMS ((enum machine_mode, rtx, int)); -extern void i960_print_operand PARAMS ((FILE *, rtx, int)); -extern int fpmove_src_operand PARAMS ((rtx, enum machine_mode)); -extern int arith_operand PARAMS ((rtx, enum machine_mode)); -extern int logic_operand PARAMS ((rtx, enum machine_mode)); -extern int fp_arith_operand PARAMS ((rtx, enum machine_mode)); -extern int signed_arith_operand PARAMS ((rtx, enum machine_mode)); -extern int fp_literal_one PARAMS ((rtx, enum machine_mode)); -extern int fp_literal_zero PARAMS ((rtx, enum machine_mode)); -extern int symbolic_memory_operand PARAMS ((rtx, enum machine_mode)); -extern int eq_or_neq PARAMS ((rtx, enum machine_mode)); -extern int arith32_operand PARAMS ((rtx, enum machine_mode)); -extern int power2_operand PARAMS ((rtx, enum machine_mode)); -extern int cmplpower2_operand PARAMS ((rtx, enum machine_mode)); -extern enum machine_mode select_cc_mode PARAMS ((RTX_CODE, rtx)); -extern int emit_move_sequence PARAMS ((rtx *, enum machine_mode)); -extern int i960_bypass PARAMS ((rtx, rtx, rtx, int)); -extern void i960_print_operand_addr PARAMS ((FILE *, rtx)); -extern int i960_expr_alignment PARAMS ((rtx, int)); -extern int i960_improve_align PARAMS ((rtx, rtx, int)); -extern int i960_si_ti PARAMS ((rtx, rtx)); -extern int i960_si_di PARAMS ((rtx, rtx)); +extern int literal (rtx, enum machine_mode); +extern int hard_regno_mode_ok (int, enum machine_mode); +extern int fp_literal (rtx, enum machine_mode); +extern int signed_literal (rtx, enum machine_mode); +extern int legitimate_address_p (enum machine_mode, rtx, int); +extern void i960_print_operand (FILE *, rtx, int); +extern int fpmove_src_operand (rtx, enum machine_mode); +extern int arith_operand (rtx, enum machine_mode); +extern int logic_operand (rtx, enum machine_mode); +extern int fp_arith_operand (rtx, enum machine_mode); +extern int signed_arith_operand (rtx, enum machine_mode); +extern int fp_literal_one (rtx, enum machine_mode); +extern int fp_literal_zero (rtx, enum machine_mode); +extern int symbolic_memory_operand (rtx, enum machine_mode); +extern int eq_or_neq (rtx, enum machine_mode); +extern int arith32_operand (rtx, enum machine_mode); +extern int power2_operand (rtx, enum machine_mode); +extern int cmplpower2_operand (rtx, enum machine_mode); +extern enum machine_mode select_cc_mode (RTX_CODE, rtx); +extern int emit_move_sequence (rtx *, enum machine_mode); +extern int i960_bypass (rtx, rtx, rtx, int); +extern void i960_print_operand_addr (FILE *, rtx); +extern int i960_expr_alignment (rtx, int); +extern int i960_improve_align (rtx, rtx, int); +extern int i960_si_ti (rtx, rtx); +extern int i960_si_di (rtx, rtx); #ifdef TREE_CODE -extern struct rtx_def *i960_function_arg PARAMS ((CUMULATIVE_ARGS *, - enum machine_mode, - tree, int)); -extern rtx i960_va_arg PARAMS ((tree, tree)); -extern void i960_va_start PARAMS ((tree, rtx)); +extern struct rtx_def *i960_function_arg (CUMULATIVE_ARGS *, + enum machine_mode, + tree, int); +extern rtx i960_va_arg (tree, tree); +extern void i960_va_start (tree, rtx); #endif /* TREE_CODE */ -extern enum reg_class secondary_reload_class PARAMS ((enum reg_class, enum machine_mode, rtx)); +extern enum reg_class secondary_reload_class (enum reg_class, enum machine_mode, rtx); #endif /* RTX_CODE */ #ifdef TREE_CODE -extern void i960_function_name_declare PARAMS ((FILE *, const char *, tree)); -extern void i960_function_arg_advance PARAMS ((CUMULATIVE_ARGS *, enum machine_mode, tree, int)); -extern int i960_round_align PARAMS ((int, tree)); -extern void i960_setup_incoming_varargs PARAMS ((CUMULATIVE_ARGS *, enum machine_mode, tree, int *, int)); -extern int i960_final_reg_parm_stack_space PARAMS ((int, tree)); -extern int i960_reg_parm_stack_space PARAMS ((tree)); +extern void i960_function_name_declare (FILE *, const char *, tree); +extern void i960_function_arg_advance (CUMULATIVE_ARGS *, enum machine_mode, tree, int); +extern int i960_round_align (int, tree); +extern void i960_setup_incoming_varargs (CUMULATIVE_ARGS *, enum machine_mode, tree, int *, int); +extern int i960_final_reg_parm_stack_space (int, tree); +extern int i960_reg_parm_stack_space (tree); #endif /* TREE_CODE */ -extern int process_pragma PARAMS ((int(*)(void), void(*)(int), const char *)); -extern int i960_object_bytes_bitalign PARAMS ((int)); -extern void i960_initialize PARAMS ((void)); -extern int bitpos PARAMS ((unsigned int)); -extern int is_mask PARAMS ((unsigned int)); -extern int bitstr PARAMS ((unsigned int, int *, int *)); -extern int compute_frame_size PARAMS ((int)); -extern void output_function_profiler PARAMS ((FILE *, int)); -extern void i960_scan_opcode PARAMS ((const char *)); +extern int process_pragma (int(*)(void), void(*)(int), const char *); +extern int i960_object_bytes_bitalign (int); +extern void i960_initialize (void); +extern int bitpos (unsigned int); +extern int is_mask (unsigned int); +extern int bitstr (unsigned int, int *, int *); +extern int compute_frame_size (int); +extern void output_function_profiler (FILE *, int); +extern void i960_scan_opcode (const char *); -extern void i960_pr_align PARAMS ((struct cpp_reader *)); -extern void i960_pr_noalign PARAMS ((struct cpp_reader *)); +extern void i960_pr_align (struct cpp_reader *); +extern void i960_pr_noalign (struct cpp_reader *); #endif /* ! GCC_I960_PROTOS_H */ diff --git a/gcc/config/i960/i960.c b/gcc/config/i960/i960.c index 4d4d23f..3d976b6 100644 --- a/gcc/config/i960/i960.c +++ b/gcc/config/i960/i960.c @@ -46,12 +46,12 @@ Boston, MA 02111-1307, USA. */ #include "target.h" #include "target-def.h" -static void i960_output_function_prologue PARAMS ((FILE *, HOST_WIDE_INT)); -static void i960_output_function_epilogue PARAMS ((FILE *, HOST_WIDE_INT)); -static void i960_output_mi_thunk PARAMS ((FILE *, tree, HOST_WIDE_INT, - HOST_WIDE_INT, tree)); -static bool i960_rtx_costs PARAMS ((rtx, int, int, int *)); -static int i960_address_cost PARAMS ((rtx)); +static void i960_output_function_prologue (FILE *, HOST_WIDE_INT); +static void i960_output_function_epilogue (FILE *, HOST_WIDE_INT); +static void i960_output_mi_thunk (FILE *, tree, HOST_WIDE_INT, + HOST_WIDE_INT, tree); +static bool i960_rtx_costs (rtx, int, int, int *); +static int i960_address_cost (rtx); static tree i960_build_builtin_va_list (void); /* Save the operands last given to a compare for use when we @@ -1235,10 +1235,10 @@ struct reg_group char length; }; -static int i960_form_reg_groups PARAMS ((int, int, int *, int, struct reg_group *)); -static int i960_reg_group_compare PARAMS ((const void *, const void *)); -static int i960_split_reg_group PARAMS ((struct reg_group *, int, int)); -static void i960_arg_size_and_align PARAMS ((enum machine_mode, tree, int *, int *)); +static int i960_form_reg_groups (int, int, int *, int, struct reg_group *); +static int i960_reg_group_compare (const void *, const void *); +static int i960_split_reg_group (struct reg_group *, int, int); +static void i960_arg_size_and_align (enum machine_mode, tree, int *, int *); /* The following functions forms the biggest as possible register groups with registers in STATE. REGS contain states of the diff --git a/gcc/config/ip2k/ip2k-protos.h b/gcc/config/ip2k/ip2k-protos.h index d1553ac..e831f2f 100644 --- a/gcc/config/ip2k/ip2k-protos.h +++ b/gcc/config/ip2k/ip2k-protos.h @@ -18,75 +18,67 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -extern void function_prologue PARAMS ((FILE *, HOST_WIDE_INT)); -extern void function_epilogue PARAMS ((FILE *, HOST_WIDE_INT)); -extern int find_one_set_bit_p PARAMS ((HOST_WIDE_INT)); -extern int find_one_clear_bit_p PARAMS ((HOST_WIDE_INT)); +extern void function_prologue (FILE *, HOST_WIDE_INT); +extern void function_epilogue (FILE *, HOST_WIDE_INT); +extern int find_one_set_bit_p (HOST_WIDE_INT); +extern int find_one_clear_bit_p (HOST_WIDE_INT); #ifdef TREE_CODE -extern void unique_section PARAMS ((tree, int)); -extern void asm_output_section_name PARAMS ((FILE *, tree, const char *, - int)); -extern int valid_machine_type_attribute PARAMS ((tree, tree, tree, tree)); -extern int valid_machine_decl_attribute PARAMS ((tree, tree, tree, tree)); -extern int ip2k_return_pops_args PARAMS ((tree, tree, int)); +extern void unique_section (tree, int); +extern void asm_output_section_name (FILE *, tree, const char *, int); +extern int valid_machine_type_attribute (tree, tree, tree, tree); +extern int valid_machine_decl_attribute (tree, tree, tree, tree); +extern int ip2k_return_pops_args (tree, tree, int); #endif /* TREE_CODE */ #ifdef RTX_CODE -extern int legitimate_address_p PARAMS ((enum machine_mode, rtx, int)); -extern int ip2k_extra_constraint PARAMS ((rtx, int)); -extern rtx legitimize_address PARAMS ((rtx, rtx, enum machine_mode, rtx)); -extern int adjust_insn_length PARAMS ((rtx insn, int len)); -extern void asm_output_char PARAMS ((FILE *, rtx)); -extern void asm_output_short PARAMS ((FILE *, rtx)); -extern void asm_output_byte PARAMS ((FILE *, int)); -extern void print_operand PARAMS ((FILE *, rtx, int)); -extern void print_operand_address PARAMS ((FILE *, rtx)); -extern int ip2k_jump_mode PARAMS ((rtx, rtx)); -extern void ip2k_split_words PARAMS ((enum machine_mode, enum machine_mode, - rtx *)); -extern rtx ip2k_get_low_half PARAMS ((rtx, enum machine_mode)); -extern rtx ip2k_get_high_half PARAMS ((rtx, enum machine_mode)); -extern int ip2k_nonptr_operand PARAMS ((rtx, enum machine_mode)); -extern int ip2k_ptr_operand PARAMS ((rtx, enum machine_mode)); -extern int ip2k_ip_operand PARAMS ((rtx, enum machine_mode)); -extern int ip2k_short_operand PARAMS ((rtx, enum machine_mode)); -extern int ip2k_gen_operand PARAMS ((rtx, enum machine_mode)); -extern int ip2k_nonsp_reg_operand PARAMS ((rtx, enum machine_mode)); -extern int ip2k_symbol_ref_operand PARAMS ((rtx, enum machine_mode)); -extern const char *ip2k_set_compare PARAMS ((rtx, rtx)); -extern const char *ip2k_gen_sCOND PARAMS ((rtx, enum rtx_code, rtx)); -extern const char *ip2k_gen_signed_comp_branch PARAMS ((rtx, - enum rtx_code, - rtx)); -extern const char *ip2k_gen_unsigned_comp_branch PARAMS ((rtx, - enum rtx_code, - rtx)); -extern int is_regfile_address PARAMS ((rtx)); -extern int ip2k_mode_dependent_address PARAMS ((rtx)); -extern int ip2k_address_uses_reg_p PARAMS ((rtx, unsigned int)); -extern int ip2k_xexp_not_uses_reg_p PARAMS ((rtx, unsigned int, int)); -extern int ip2k_composite_xexp_not_uses_reg_p PARAMS ((rtx, unsigned int, int)); -extern int ip2k_composite_xexp_not_uses_cc0_p PARAMS ((rtx)); -extern int ip2k_signed_comparison_operator PARAMS ((rtx, - enum machine_mode)); -extern int ip2k_unsigned_comparison_operator PARAMS ((rtx, - enum machine_mode)); -extern int ip2k_unary_operator PARAMS ((rtx, enum machine_mode)); -extern int ip2k_binary_operator PARAMS ((rtx, enum machine_mode)); +extern int legitimate_address_p (enum machine_mode, rtx, int); +extern int ip2k_extra_constraint (rtx, int); +extern rtx legitimize_address (rtx, rtx, enum machine_mode, rtx); +extern int adjust_insn_length (rtx insn, int len); +extern void asm_output_char (FILE *, rtx); +extern void asm_output_short (FILE *, rtx); +extern void asm_output_byte (FILE *, int); +extern void print_operand (FILE *, rtx, int); +extern void print_operand_address (FILE *, rtx); +extern int ip2k_jump_mode (rtx, rtx); +extern void ip2k_split_words (enum machine_mode, enum machine_mode, rtx *); +extern rtx ip2k_get_low_half (rtx, enum machine_mode); +extern rtx ip2k_get_high_half (rtx, enum machine_mode); +extern int ip2k_nonptr_operand (rtx, enum machine_mode); +extern int ip2k_ptr_operand (rtx, enum machine_mode); +extern int ip2k_ip_operand (rtx, enum machine_mode); +extern int ip2k_short_operand (rtx, enum machine_mode); +extern int ip2k_gen_operand (rtx, enum machine_mode); +extern int ip2k_nonsp_reg_operand (rtx, enum machine_mode); +extern int ip2k_symbol_ref_operand (rtx, enum machine_mode); +extern const char *ip2k_set_compare (rtx, rtx); +extern const char *ip2k_gen_sCOND (rtx, enum rtx_code, rtx); +extern const char *ip2k_gen_signed_comp_branch (rtx, enum rtx_code, rtx); +extern const char *ip2k_gen_unsigned_comp_branch (rtx, enum rtx_code, rtx); +extern int is_regfile_address (rtx); +extern int ip2k_mode_dependent_address (rtx); +extern int ip2k_address_uses_reg_p (rtx, unsigned int); +extern int ip2k_xexp_not_uses_reg_p (rtx, unsigned int, int); +extern int ip2k_composite_xexp_not_uses_reg_p (rtx, unsigned int, int); +extern int ip2k_composite_xexp_not_uses_cc0_p (rtx); +extern int ip2k_signed_comparison_operator (rtx, enum machine_mode); +extern int ip2k_unsigned_comparison_operator (rtx, enum machine_mode); +extern int ip2k_unary_operator (rtx, enum machine_mode); +extern int ip2k_binary_operator (rtx, enum machine_mode); extern rtx ip2k_compare_operands[3]; #endif /* RTX_CODE */ #ifdef HAVE_MACHINE_MODES -extern int class_max_nregs PARAMS ((enum reg_class, enum machine_mode)); -extern enum reg_class class_likely_spilled_p PARAMS ((int c)); +extern int class_max_nregs (enum reg_class, enum machine_mode); +extern enum reg_class class_likely_spilled_p (int c); #endif /* HAVE_MACHINE_MODES */ #ifdef REAL_VALUE_TYPE -extern void asm_output_float PARAMS ((FILE *, REAL_VALUE_TYPE)); +extern void asm_output_float (FILE *, REAL_VALUE_TYPE); #endif -extern int ip2k_init_elim_offset PARAMS ((int, int)); -extern void ip2k_init_local_alloc PARAMS ((int *)); +extern int ip2k_init_elim_offset (int, int); +extern void ip2k_init_local_alloc (int *); diff --git a/gcc/config/ip2k/ip2k.c b/gcc/config/ip2k/ip2k.c index e31347f..f11cfd1 100644 --- a/gcc/config/ip2k/ip2k.c +++ b/gcc/config/ip2k/ip2k.c @@ -54,35 +54,33 @@ the stack offsets. Isolate the decision process into a simple macro. */ #define CHAIN_FRAMES (frame_pointer_needed || FRAME_POINTER_REQUIRED) -static int ip2k_naked_function_p PARAMS ((tree)); +static int ip2k_naked_function_p (tree); #ifdef IP2K_MD_REORG_PASS -static void mdr_resequence_xy_yx PARAMS ((rtx)); -static void mdr_pres_replace_and_recurse PARAMS ((rtx, rtx, rtx)); -static void mdr_propagate_reg_equivs_sequence PARAMS ((rtx, rtx, rtx)); -static void mdr_propagate_reg_equivs PARAMS ((rtx)); -static int track_dp_reload PARAMS ((rtx , rtx *, int , int)); -static void mdr_try_dp_reload_elim PARAMS ((rtx)); -static void mdr_try_move_dp_reload PARAMS ((rtx)); -static void mdr_try_move_pushes PARAMS ((rtx)); -static void mdr_try_propagate_clr_sequence PARAMS ((rtx, unsigned int)); -static void mdr_try_propagate_clr PARAMS ((rtx)); -static void mdr_try_propagate_move_sequence PARAMS ((rtx, rtx, rtx)); -static void mdr_try_propagate_move PARAMS ((rtx)); -static void mdr_try_remove_redundant_insns PARAMS ((rtx)); -static int track_w_reload PARAMS ((rtx, rtx *, int , int)); -static void mdr_try_wreg_elim PARAMS ((rtx)); +static void mdr_resequence_xy_yx (rtx); +static void mdr_pres_replace_and_recurse (rtx, rtx, rtx); +static void mdr_propagate_reg_equivs_sequence (rtx, rtx, rtx); +static void mdr_propagate_reg_equivs (rtx); +static int track_dp_reload (rtx , rtx *, int , int); +static void mdr_try_dp_reload_elim (rtx); +static void mdr_try_move_dp_reload (rtx); +static void mdr_try_move_pushes (rtx); +static void mdr_try_propagate_clr_sequence (rtx, unsigned int); +static void mdr_try_propagate_clr (rtx); +static void mdr_try_propagate_move_sequence (rtx, rtx, rtx); +static void mdr_try_propagate_move (rtx); +static void mdr_try_remove_redundant_insns (rtx); +static int track_w_reload (rtx, rtx *, int , int); +static void mdr_try_wreg_elim (rtx); #endif /* IP2K_MD_REORG_PASS */ -static void ip2k_reorg PARAMS ((void)); -static int ip2k_check_can_adjust_stack_ref PARAMS ((rtx, int)); -static void ip2k_adjust_stack_ref PARAMS ((rtx *, int)); -static int ip2k_xexp_not_uses_reg_for_mem PARAMS ((rtx, unsigned int)); -static tree ip2k_handle_progmem_attribute PARAMS ((tree *, tree, tree, int, - bool *)); -static tree ip2k_handle_fndecl_attribute PARAMS ((tree *, tree, tree, int, - bool *)); -static bool ip2k_rtx_costs PARAMS ((rtx, int, int, int *)); -static int ip2k_address_cost PARAMS ((rtx)); -static void ip2k_init_libfuncs PARAMS ((void)); +static void ip2k_reorg (void); +static int ip2k_check_can_adjust_stack_ref (rtx, int); +static void ip2k_adjust_stack_ref (rtx *, int); +static int ip2k_xexp_not_uses_reg_for_mem (rtx, unsigned int); +static tree ip2k_handle_progmem_attribute (tree *, tree, tree, int, bool *); +static tree ip2k_handle_fndecl_attribute (tree *, tree, tree, int, bool *); +static bool ip2k_rtx_costs (rtx, int, int, int *); +static int ip2k_address_cost (rtx); +static void ip2k_init_libfuncs (void); const struct attribute_spec ip2k_attribute_table[]; diff --git a/gcc/config/m32r/m32r-protos.h b/gcc/config/m32r/m32r-protos.h index ef7ba37..cdd9db3 100644 --- a/gcc/config/m32r/m32r-protos.h +++ b/gcc/config/m32r/m32r-protos.h @@ -22,77 +22,76 @@ Boston, MA 02111-1307, USA. */ complications. */ #define Mmode enum machine_mode -extern void sbss_section PARAMS ((void)); -extern void sdata_section PARAMS ((void)); -extern void m32r_init PARAMS ((void)); -extern void m32r_init_expanders PARAMS ((void)); -extern unsigned m32r_compute_frame_size PARAMS ((int)); -extern int m32r_first_insn_address PARAMS ((void)); -extern void m32r_expand_prologue PARAMS ((void)); -extern void m32r_finalize_pic PARAMS ((void)); -extern int direct_return PARAMS ((void)); +extern void sbss_section (void); +extern void sdata_section (void); +extern void m32r_init (void); +extern void m32r_init_expanders (void); +extern unsigned m32r_compute_frame_size (int); +extern int m32r_first_insn_address (void); +extern void m32r_expand_prologue (void); +extern void m32r_finalize_pic (void); +extern int direct_return (void); #ifdef TREE_CODE -extern enum m32r_function_type m32r_compute_function_type PARAMS ((tree)); +extern enum m32r_function_type m32r_compute_function_type (tree); #ifdef HAVE_MACHINE_MODES -extern void m32r_setup_incoming_varargs PARAMS ((CUMULATIVE_ARGS *, Mmode, tree, int *, int)); -extern int function_arg_partial_nregs PARAMS ((CUMULATIVE_ARGS *, Mmode, tree, int)); +extern void m32r_setup_incoming_varargs (CUMULATIVE_ARGS *, Mmode, tree, int *, int); +extern int function_arg_partial_nregs (CUMULATIVE_ARGS *, Mmode, tree, int); #endif #endif /* TREE_CODE */ #ifdef RTX_CODE -extern int easy_di_const PARAMS ((rtx)); -extern int easy_df_const PARAMS ((rtx)); -extern rtx gen_compare PARAMS ((enum rtx_code, rtx, rtx, int)); -extern rtx gen_split_move_double PARAMS ((rtx *)); -extern int m32r_address_code PARAMS ((rtx)); -extern void m32r_initialize_trampoline PARAMS ((rtx, rtx, rtx)); -extern int zero_and_one PARAMS ((rtx, rtx)); -extern char * emit_cond_move PARAMS ((rtx *, rtx)); -extern void m32r_output_block_move PARAMS ((rtx, rtx *)); -extern void m32r_expand_block_move PARAMS ((rtx *)); -extern void m32r_print_operand PARAMS ((FILE *, rtx, int)); -extern void m32r_print_operand_address PARAMS ((FILE *, rtx)); -extern int m32r_not_same_reg PARAMS ((rtx, rtx)); -extern int m32r_hard_regno_rename_ok PARAMS ((unsigned int, - unsigned int)); +extern int easy_di_const (rtx); +extern int easy_df_const (rtx); +extern rtx gen_compare (enum rtx_code, rtx, rtx, int); +extern rtx gen_split_move_double (rtx *); +extern int m32r_address_code (rtx); +extern void m32r_initialize_trampoline (rtx, rtx, rtx); +extern int zero_and_one (rtx, rtx); +extern char * emit_cond_move (rtx *, rtx); +extern void m32r_output_block_move (rtx, rtx *); +extern void m32r_expand_block_move (rtx *); +extern void m32r_print_operand (FILE *, rtx, int); +extern void m32r_print_operand_address (FILE *, rtx); +extern int m32r_not_same_reg (rtx, rtx); +extern int m32r_hard_regno_rename_ok (unsigned int, unsigned int); #ifdef HAVE_MACHINE_MODES -extern int call_address_operand PARAMS ((rtx, Mmode)); -extern int call_operand PARAMS ((rtx, Mmode)); -extern int symbolic_operand PARAMS ((rtx, Mmode)); -extern int small_data_operand PARAMS ((rtx, Mmode)); -extern int addr24_operand PARAMS ((rtx, Mmode)); -extern int addr32_operand PARAMS ((rtx, Mmode)); -extern int call26_operand PARAMS ((rtx, Mmode)); -extern int seth_add3_operand PARAMS ((rtx, Mmode)); -extern int cmp_int16_operand PARAMS ((rtx, Mmode)); -extern int uint16_operand PARAMS ((rtx, Mmode)); -extern int reg_or_int16_operand PARAMS ((rtx, Mmode)); -extern int reg_or_uint16_operand PARAMS ((rtx, Mmode)); -extern int reg_or_cmp_int16_operand PARAMS ((rtx, Mmode)); -extern int two_insn_const_operand PARAMS ((rtx, Mmode)); -extern int move_src_operand PARAMS ((rtx, Mmode)); -extern int move_double_src_operand PARAMS ((rtx, Mmode)); -extern int move_dest_operand PARAMS ((rtx, Mmode)); -extern int eqne_comparison_operator PARAMS ((rtx, Mmode)); -extern int signed_comparison_operator PARAMS ((rtx, Mmode)); -extern int memreg_operand PARAMS ((rtx, Mmode)); -extern int small_insn_p PARAMS ((rtx, Mmode)); -extern int large_insn_p PARAMS ((rtx, Mmode)); -extern int conditional_move_operand PARAMS ((rtx, Mmode)); -extern int carry_compare_operand PARAMS ((rtx, Mmode)); -extern int m32r_block_immediate_operand PARAMS ((rtx, Mmode)); -extern int extend_operand PARAMS ((rtx, Mmode)); -extern int reg_or_eq_int16_operand PARAMS ((rtx, Mmode)); -extern int int8_operand PARAMS ((rtx, Mmode)); -extern int reg_or_zero_operand PARAMS ((rtx, Mmode)); +extern int call_address_operand (rtx, Mmode); +extern int call_operand (rtx, Mmode); +extern int symbolic_operand (rtx, Mmode); +extern int small_data_operand (rtx, Mmode); +extern int addr24_operand (rtx, Mmode); +extern int addr32_operand (rtx, Mmode); +extern int call26_operand (rtx, Mmode); +extern int seth_add3_operand (rtx, Mmode); +extern int cmp_int16_operand (rtx, Mmode); +extern int uint16_operand (rtx, Mmode); +extern int reg_or_int16_operand (rtx, Mmode); +extern int reg_or_uint16_operand (rtx, Mmode); +extern int reg_or_cmp_int16_operand (rtx, Mmode); +extern int two_insn_const_operand (rtx, Mmode); +extern int move_src_operand (rtx, Mmode); +extern int move_double_src_operand (rtx, Mmode); +extern int move_dest_operand (rtx, Mmode); +extern int eqne_comparison_operator (rtx, Mmode); +extern int signed_comparison_operator (rtx, Mmode); +extern int memreg_operand (rtx, Mmode); +extern int small_insn_p (rtx, Mmode); +extern int large_insn_p (rtx, Mmode); +extern int conditional_move_operand (rtx, Mmode); +extern int carry_compare_operand (rtx, Mmode); +extern int m32r_block_immediate_operand (rtx, Mmode); +extern int extend_operand (rtx, Mmode); +extern int reg_or_eq_int16_operand (rtx, Mmode); +extern int int8_operand (rtx, Mmode); +extern int reg_or_zero_operand (rtx, Mmode); #endif /* HAVE_MACHINE_MODES */ #ifdef TREE_CODE -extern struct rtx_def * m32r_va_arg PARAMS ((tree, tree)); -extern int m32r_pass_by_reference PARAMS ((tree)); +extern struct rtx_def * m32r_va_arg (tree, tree); +extern int m32r_pass_by_reference (tree); #endif /* TREE_CODE */ #endif /* RTX_CODE */ diff --git a/gcc/config/m32r/m32r.c b/gcc/config/m32r/m32r.c index dfea2fc..5e358e7 100644 --- a/gcc/config/m32r/m32r.c +++ b/gcc/config/m32r/m32r.c @@ -69,27 +69,27 @@ static int m32r_sched_odd_word_p; #define LIT_NAME_P(NAME) ((NAME)[0] == '*' && (NAME)[1] == '.') /* Forward declaration. */ -static void init_reg_tables PARAMS ((void)); -static void block_move_call PARAMS ((rtx, rtx, rtx)); -static int m32r_is_insn PARAMS ((rtx)); +static void init_reg_tables (void); +static void block_move_call (rtx, rtx, rtx); +static int m32r_is_insn (rtx); const struct attribute_spec m32r_attribute_table[]; -static tree m32r_handle_model_attribute PARAMS ((tree *, tree, tree, int, bool *)); -static void m32r_output_function_prologue PARAMS ((FILE *, HOST_WIDE_INT)); -static void m32r_output_function_epilogue PARAMS ((FILE *, HOST_WIDE_INT)); - -static void m32r_file_start PARAMS ((void)); - -static int m32r_adjust_cost PARAMS ((rtx, rtx, rtx, int)); -static int m32r_adjust_priority PARAMS ((rtx, int)); -static void m32r_sched_init PARAMS ((FILE *, int, int)); -static int m32r_sched_reorder PARAMS ((FILE *, int, rtx *, int *, int)); -static int m32r_variable_issue PARAMS ((FILE *, int, rtx, int)); -static int m32r_issue_rate PARAMS ((void)); - -static void m32r_encode_section_info PARAMS ((tree, rtx, int)); -static bool m32r_in_small_data_p PARAMS ((tree)); -static void init_idents PARAMS ((void)); -static bool m32r_rtx_costs PARAMS ((rtx, int, int, int *)); +static tree m32r_handle_model_attribute (tree *, tree, tree, int, bool *); +static void m32r_output_function_prologue (FILE *, HOST_WIDE_INT); +static void m32r_output_function_epilogue (FILE *, HOST_WIDE_INT); + +static void m32r_file_start (void); + +static int m32r_adjust_cost (rtx, rtx, rtx, int); +static int m32r_adjust_priority (rtx, int); +static void m32r_sched_init (FILE *, int, int); +static int m32r_sched_reorder (FILE *, int, rtx *, int *, int); +static int m32r_variable_issue (FILE *, int, rtx, int); +static int m32r_issue_rate (void); + +static void m32r_encode_section_info (tree, rtx, int); +static bool m32r_in_small_data_p (tree); +static void init_idents (void); +static bool m32r_rtx_costs (rtx, int, int, int *); /* Initialize the GCC target structure. */ #undef TARGET_ATTRIBUTE_TABLE diff --git a/gcc/config/mn10300/mn10300-protos.h b/gcc/config/mn10300/mn10300-protos.h index 8e84325..1c6bc7a 100644 --- a/gcc/config/mn10300/mn10300-protos.h +++ b/gcc/config/mn10300/mn10300-protos.h @@ -22,41 +22,41 @@ Boston, MA 02111-1307, USA. */ #ifdef RTX_CODE #ifdef TREE_CODE -extern void mn10300_va_start PARAMS ((tree, rtx)); +extern void mn10300_va_start (tree, rtx); #endif /* TREE_CODE */ -extern struct rtx_def *legitimize_address PARAMS ((rtx, rtx, enum machine_mode)); -extern rtx legitimize_pic_address (rtx, rtx); +extern struct rtx_def *legitimize_address (rtx, rtx, enum machine_mode); +extern rtx legitimize_pic_address (rtx, rtx); extern int legitimate_pic_operand_p (rtx); -extern void print_operand PARAMS ((FILE *, rtx, int)); -extern void print_operand_address PARAMS ((FILE *, rtx)); -extern void mn10300_print_reg_list PARAMS ((FILE *, int)); -extern int mn10300_get_live_callee_saved_regs PARAMS ((void)); -extern void mn10300_gen_multiple_store PARAMS ((int)); -extern void notice_update_cc PARAMS ((rtx, rtx)); -extern enum reg_class secondary_reload_class PARAMS ((enum reg_class, - enum machine_mode, rtx)); -extern const char *output_tst PARAMS ((rtx, rtx)); -extern int store_multiple_operation PARAMS ((rtx, enum machine_mode)); -extern int symbolic_operand PARAMS ((rtx, enum machine_mode)); -extern int call_address_operand PARAMS ((rtx, enum machine_mode)); -extern int impossible_plus_operand PARAMS ((rtx, enum machine_mode)); -extern int const_8bit_operand PARAMS ((rtx, enum machine_mode)); - -extern bool mn10300_wide_const_load_uses_clr PARAMS ((rtx operands[2])); +extern void print_operand (FILE *, rtx, int); +extern void print_operand_address (FILE *, rtx); +extern void mn10300_print_reg_list (FILE *, int); +extern int mn10300_get_live_callee_saved_regs (void); +extern void mn10300_gen_multiple_store (int); +extern void notice_update_cc (rtx, rtx); +extern enum reg_class secondary_reload_class (enum reg_class, + enum machine_mode, rtx); +extern const char *output_tst (rtx, rtx); +extern int store_multiple_operation (rtx, enum machine_mode); +extern int symbolic_operand (rtx, enum machine_mode); +extern int call_address_operand (rtx, enum machine_mode); +extern int impossible_plus_operand (rtx, enum machine_mode); +extern int const_8bit_operand (rtx, enum machine_mode); + +extern bool mn10300_wide_const_load_uses_clr (rtx operands[2]); #endif /* RTX_CODE */ #ifdef TREE_CODE -extern struct rtx_def *function_arg PARAMS ((CUMULATIVE_ARGS *, - enum machine_mode, tree, int)); -extern int function_arg_partial_nregs PARAMS ((CUMULATIVE_ARGS *, - enum machine_mode, tree, int)); -extern struct rtx_def *mn10300_va_arg PARAMS ((tree, tree)); +extern struct rtx_def *function_arg (CUMULATIVE_ARGS *, + enum machine_mode, tree, int); +extern int function_arg_partial_nregs (CUMULATIVE_ARGS *, + enum machine_mode, tree, int); +extern struct rtx_def *mn10300_va_arg (tree, tree); #endif /* TREE_CODE */ -extern struct rtx_def *mn10300_builtin_saveregs PARAMS ((void)); -extern void expand_prologue PARAMS ((void)); -extern void expand_epilogue PARAMS ((void)); -extern int initial_offset PARAMS ((int, int)); -extern int can_use_return_insn PARAMS ((void)); -extern int mask_ok_for_mem_btst PARAMS ((int, int)); +extern struct rtx_def *mn10300_builtin_saveregs (void); +extern void expand_prologue (void); +extern void expand_epilogue (void); +extern int initial_offset (int, int); +extern int can_use_return_insn (void); +extern int mask_ok_for_mem_btst (int, int); diff --git a/gcc/config/mn10300/mn10300.c b/gcc/config/mn10300/mn10300.c index ba8c6cc..3174a90 100644 --- a/gcc/config/mn10300/mn10300.c +++ b/gcc/config/mn10300/mn10300.c @@ -65,10 +65,10 @@ int mn10300_protect_label; || regs_ever_live[16] || regs_ever_live[17])) -static int mn10300_address_cost_1 PARAMS ((rtx, int *)); -static int mn10300_address_cost PARAMS ((rtx)); -static bool mn10300_rtx_costs PARAMS ((rtx, int, int, int *)); -static void mn10300_file_start PARAMS ((void)); +static int mn10300_address_cost_1 (rtx, int *); +static int mn10300_address_cost (rtx); +static bool mn10300_rtx_costs (rtx, int, int, int *); +static void mn10300_file_start (void); /* Initialize the GCC target structure. */ diff --git a/gcc/config/ns32k/ns32k-protos.h b/gcc/config/ns32k/ns32k-protos.h index 9700a03..b5a2328 100644 --- a/gcc/config/ns32k/ns32k-protos.h +++ b/gcc/config/ns32k/ns32k-protos.h @@ -22,24 +22,24 @@ Boston, MA 02111-1307, USA. */ /* Prototypes for functions in ns32k.c */ #ifdef RTX_CODE -extern enum reg_class secondary_reload_class PARAMS ((enum reg_class, - enum machine_mode, rtx)); -extern int reg_or_mem_operand PARAMS ((rtx, enum machine_mode)); - -extern void split_di PARAMS ((rtx[], int, rtx[], rtx[])); -extern void expand_block_move PARAMS ((rtx[])); -extern int global_symbolic_reference_mentioned_p PARAMS ((rtx, int)); -extern void print_operand PARAMS ((FILE *, rtx, int)); -extern void print_operand_address PARAMS ((FILE *, rtx)); -extern const char *output_move_double PARAMS ((rtx *)); -extern const char *output_shift_insn PARAMS ((rtx *)); -extern int symbolic_reference_mentioned_p PARAMS ((rtx)); +extern enum reg_class secondary_reload_class (enum reg_class, + enum machine_mode, rtx); +extern int reg_or_mem_operand (rtx, enum machine_mode); + +extern void split_di (rtx[], int, rtx[], rtx[]); +extern void expand_block_move (rtx[]); +extern int global_symbolic_reference_mentioned_p (rtx, int); +extern void print_operand (FILE *, rtx, int); +extern void print_operand_address (FILE *, rtx); +extern const char *output_move_double (rtx *); +extern const char *output_shift_insn (rtx *); +extern int symbolic_reference_mentioned_p (rtx); #endif /* RTX_CODE */ #ifdef TREE_CODE -extern int ns32k_return_pops_args PARAMS ((tree, tree, int)); +extern int ns32k_return_pops_args (tree, tree, int); #endif /* TREE_CODE */ -extern int hard_regno_mode_ok PARAMS ((int, enum machine_mode)); -extern int register_move_cost PARAMS ((enum reg_class, enum reg_class)); -extern const char *output_move_dconst PARAMS ((int, const char *)); +extern int hard_regno_mode_ok (int, enum machine_mode); +extern int register_move_cost (enum reg_class, enum reg_class); +extern const char *output_move_dconst (int, const char *); diff --git a/gcc/config/ns32k/ns32k.c b/gcc/config/ns32k/ns32k.c index bd4b561..3573b71 100644 --- a/gcc/config/ns32k/ns32k.c +++ b/gcc/config/ns32k/ns32k.c @@ -64,15 +64,15 @@ const enum reg_class regclass_map[FIRST_PSEUDO_REGISTER] = static const char *const ns32k_out_reg_names[] = OUTPUT_REGISTER_NAMES; -static rtx gen_indexed_expr PARAMS ((rtx, rtx, rtx)); -static const char *singlemove_string PARAMS ((rtx *)); -static void move_tail PARAMS ((rtx[], int, int)); -static tree ns32k_handle_fntype_attribute PARAMS ((tree *, tree, tree, int, bool *)); +static rtx gen_indexed_expr (rtx, rtx, rtx); +static const char *singlemove_string (rtx *); +static void move_tail (rtx[], int, int); +static tree ns32k_handle_fntype_attribute (tree *, tree, tree, int, bool *); const struct attribute_spec ns32k_attribute_table[]; -static void ns32k_output_function_prologue PARAMS ((FILE *, HOST_WIDE_INT)); -static void ns32k_output_function_epilogue PARAMS ((FILE *, HOST_WIDE_INT)); -static bool ns32k_rtx_costs PARAMS ((rtx, int, int, int *)); -static int ns32k_address_cost PARAMS ((rtx)); +static void ns32k_output_function_prologue (FILE *, HOST_WIDE_INT); +static void ns32k_output_function_epilogue (FILE *, HOST_WIDE_INT); +static bool ns32k_rtx_costs (rtx, int, int, int *); +static int ns32k_address_cost (rtx); /* Initialize the GCC target structure. */ #undef TARGET_ATTRIBUTE_TABLE |