alpha-protos.h: PROTO -> PARAMS.

* alpha-protos.h: PROTO -> PARAMS.
        * alpha.c: Likewise.
        * elf.h: Likewise.
        * h8300.c: Likewise.
        * i386-protos.h: Likewise.
        * i386.c: Likewise.
        * m32r-protos.h: Likewise.
        * m32r.c: Likewise.
        * mips.c: Likewise.
        * mips.md: Likewise.
        * gmon-sol2.c: Likewise.
        * sparc.c: Likewise.

From-SVN: r31495
This commit is contained in:
Kaveh R. Ghazi 2000-01-18 23:44:36 +00:00 committed by Kaveh Ghazi
parent fabf04b6e0
commit f6da8bc3ee
13 changed files with 356 additions and 341 deletions

View File

@ -1,3 +1,18 @@
2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* alpha-protos.h: PROTO -> PARAMS.
* alpha.c: Likewise.
* elf.h: Likewise.
* h8300.c: Likewise.
* i386-protos.h: Likewise.
* i386.c: Likewise.
* m32r-protos.h: Likewise.
* m32r.c: Likewise.
* mips.c: Likewise.
* mips.md: Likewise.
* gmon-sol2.c: Likewise.
* sparc.c: Likewise.
2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* ns32k-protos.h: New file.

View File

@ -1,5 +1,5 @@
/* Prototypes for alpha.c functions used in the md file & elsewhere.
Copyright (C) 1999 Free Software Foundation, Inc.
Copyright (C) 1999, 2000 Free Software Foundation, Inc.
This file is part of GNU CC.
@ -18,104 +18,104 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
extern void literal_section PROTO ((void));
extern void override_options PROTO ((void));
extern int zap_mask PROTO ((HOST_WIDE_INT));
extern int direct_return PROTO ((void));
extern void literal_section PARAMS ((void));
extern void override_options PARAMS ((void));
extern int zap_mask PARAMS ((HOST_WIDE_INT));
extern int direct_return PARAMS ((void));
extern int alpha_sa_size PROTO ((void));
extern int alpha_pv_save_size PROTO ((void));
extern int alpha_using_fp PROTO ((void));
extern void alpha_write_verstamp PROTO ((FILE *));
extern void alpha_expand_prologue PROTO ((void));
extern void output_end_prologue PROTO ((FILE *));
extern void alpha_expand_epilogue PROTO ((void));
extern void alpha_output_filename PROTO ((FILE *, const char *));
extern void alpha_output_lineno PROTO ((FILE *, int));
extern int alpha_sa_size PARAMS ((void));
extern int alpha_pv_save_size PARAMS ((void));
extern int alpha_using_fp PARAMS ((void));
extern void alpha_write_verstamp PARAMS ((FILE *));
extern void alpha_expand_prologue PARAMS ((void));
extern void output_end_prologue PARAMS ((FILE *));
extern void alpha_expand_epilogue PARAMS ((void));
extern void alpha_output_filename PARAMS ((FILE *, const char *));
extern void alpha_output_lineno PARAMS ((FILE *, int));
#ifdef RTX_CODE
extern int reg_or_0_operand PROTO ((rtx, enum machine_mode));
extern int reg_or_6bit_operand PROTO ((rtx, enum machine_mode));
extern int reg_or_8bit_operand PROTO ((rtx, enum machine_mode));
extern int cint8_operand PROTO ((rtx, enum machine_mode));
extern int add_operand PROTO ((rtx, enum machine_mode));
extern int sext_add_operand PROTO ((rtx, enum machine_mode));
extern int const48_operand PROTO ((rtx, enum machine_mode));
extern int and_operand PROTO ((rtx, enum machine_mode));
extern int or_operand PROTO ((rtx, enum machine_mode));
extern int mode_width_operand PROTO ((rtx, enum machine_mode));
extern int mode_mask_operand PROTO ((rtx, enum machine_mode));
extern int mul8_operand PROTO ((rtx, enum machine_mode));
extern int fp0_operand PROTO ((rtx, enum machine_mode));
extern int reg_or_fp0_operand PROTO ((rtx, enum machine_mode));
extern int hard_fp_register_operand PROTO ((rtx, enum machine_mode));
extern int reg_or_cint_operand PROTO ((rtx, enum machine_mode));
extern int some_operand PROTO ((rtx, enum machine_mode));
extern int some_ni_operand PROTO ((rtx, enum machine_mode));
extern int input_operand PROTO ((rtx, enum machine_mode));
extern int current_file_function_operand PROTO ((rtx, enum machine_mode));
extern int call_operand PROTO ((rtx, enum machine_mode));
extern int alpha_comparison_operator PROTO ((rtx, enum machine_mode));
extern int alpha_swapped_comparison_operator PROTO ((rtx, enum machine_mode));
extern int signed_comparison_operator PROTO ((rtx, enum machine_mode));
extern int divmod_operator PROTO ((rtx, enum machine_mode));
extern int aligned_memory_operand PROTO ((rtx, enum machine_mode));
extern int unaligned_memory_operand PROTO ((rtx, enum machine_mode));
extern int reg_or_unaligned_mem_operand PROTO ((rtx, enum machine_mode));
extern int any_memory_operand PROTO ((rtx, enum machine_mode));
extern int reg_not_elim_operand PROTO ((rtx, enum machine_mode));
extern int normal_memory_operand PROTO ((rtx, enum machine_mode));
extern int reg_no_subreg_operand PROTO ((rtx, enum machine_mode));
extern int addition_operation PROTO ((rtx, enum machine_mode));
extern int reg_or_0_operand PARAMS ((rtx, enum machine_mode));
extern int reg_or_6bit_operand PARAMS ((rtx, enum machine_mode));
extern int reg_or_8bit_operand PARAMS ((rtx, enum machine_mode));
extern int cint8_operand PARAMS ((rtx, enum machine_mode));
extern int add_operand PARAMS ((rtx, enum machine_mode));
extern int sext_add_operand PARAMS ((rtx, enum machine_mode));
extern int const48_operand PARAMS ((rtx, enum machine_mode));
extern int and_operand PARAMS ((rtx, enum machine_mode));
extern int or_operand PARAMS ((rtx, enum machine_mode));
extern int mode_width_operand PARAMS ((rtx, enum machine_mode));
extern int mode_mask_operand PARAMS ((rtx, enum machine_mode));
extern int mul8_operand PARAMS ((rtx, enum machine_mode));
extern int fp0_operand PARAMS ((rtx, enum machine_mode));
extern int reg_or_fp0_operand PARAMS ((rtx, enum machine_mode));
extern int hard_fp_register_operand PARAMS ((rtx, enum machine_mode));
extern int reg_or_cint_operand PARAMS ((rtx, enum machine_mode));
extern int some_operand PARAMS ((rtx, enum machine_mode));
extern int some_ni_operand PARAMS ((rtx, enum machine_mode));
extern int input_operand PARAMS ((rtx, enum machine_mode));
extern int current_file_function_operand PARAMS ((rtx, enum machine_mode));
extern int call_operand PARAMS ((rtx, enum machine_mode));
extern int alpha_comparison_operator PARAMS ((rtx, enum machine_mode));
extern int alpha_swapped_comparison_operator PARAMS ((rtx, enum machine_mode));
extern int signed_comparison_operator PARAMS ((rtx, enum machine_mode));
extern int divmod_operator PARAMS ((rtx, enum machine_mode));
extern int aligned_memory_operand PARAMS ((rtx, enum machine_mode));
extern int unaligned_memory_operand PARAMS ((rtx, enum machine_mode));
extern int reg_or_unaligned_mem_operand PARAMS ((rtx, enum machine_mode));
extern int any_memory_operand PARAMS ((rtx, enum machine_mode));
extern int reg_not_elim_operand PARAMS ((rtx, enum machine_mode));
extern int normal_memory_operand PARAMS ((rtx, enum machine_mode));
extern int reg_no_subreg_operand PARAMS ((rtx, enum machine_mode));
extern int addition_operation PARAMS ((rtx, enum machine_mode));
extern void get_aligned_mem PROTO ((rtx, rtx *, rtx *));
extern rtx get_unaligned_address PROTO ((rtx, int));
extern enum reg_class secondary_reload_class PROTO ((enum reg_class,
extern void get_aligned_mem PARAMS ((rtx, rtx *, rtx *));
extern rtx get_unaligned_address PARAMS ((rtx, int));
extern enum reg_class secondary_reload_class PARAMS ((enum reg_class,
enum machine_mode,
rtx, int));
extern void alpha_set_memflags PROTO ((rtx, rtx));
extern rtx alpha_emit_set_const PROTO ((rtx, enum machine_mode,
extern void alpha_set_memflags PARAMS ((rtx, rtx));
extern rtx alpha_emit_set_const PARAMS ((rtx, enum machine_mode,
HOST_WIDE_INT, int));
extern rtx alpha_emit_set_long_const PROTO ((rtx, HOST_WIDE_INT,
extern rtx alpha_emit_set_long_const PARAMS ((rtx, HOST_WIDE_INT,
HOST_WIDE_INT));
extern rtx alpha_emit_conditional_branch PROTO ((enum rtx_code));
extern rtx alpha_emit_conditional_move PROTO ((rtx, enum machine_mode));
extern void alpha_expand_unaligned_load PROTO ((rtx, rtx, HOST_WIDE_INT,
extern rtx alpha_emit_conditional_branch PARAMS ((enum rtx_code));
extern rtx alpha_emit_conditional_move PARAMS ((rtx, enum machine_mode));
extern void alpha_expand_unaligned_load PARAMS ((rtx, rtx, HOST_WIDE_INT,
HOST_WIDE_INT, int));
extern void alpha_expand_unaligned_store PROTO ((rtx, rtx, HOST_WIDE_INT,
extern void alpha_expand_unaligned_store PARAMS ((rtx, rtx, HOST_WIDE_INT,
HOST_WIDE_INT));
extern int alpha_expand_block_move PROTO ((rtx []));
extern int alpha_expand_block_clear PROTO ((rtx []));
extern int alpha_adjust_cost PROTO ((rtx, rtx, rtx, int));
extern rtx alpha_return_addr PROTO ((int, rtx));
extern void print_operand PROTO ((FILE *, rtx, int));
extern void print_operand_address PROTO ((FILE *, rtx));
extern void alpha_initialize_trampoline PROTO ((rtx, rtx, rtx, int, int, int));
extern void alpha_reorg PROTO ((rtx));
extern int alpha_expand_block_move PARAMS ((rtx []));
extern int alpha_expand_block_clear PARAMS ((rtx []));
extern int alpha_adjust_cost PARAMS ((rtx, rtx, rtx, int));
extern rtx alpha_return_addr PARAMS ((int, rtx));
extern void print_operand PARAMS ((FILE *, rtx, int));
extern void print_operand_address PARAMS ((FILE *, rtx));
extern void alpha_initialize_trampoline PARAMS ((rtx, rtx, rtx, int, int, int));
extern void alpha_reorg PARAMS ((rtx));
#endif /* RTX_CODE */
#ifdef REAL_VALUE_TYPE
extern int check_float_value PROTO ((enum machine_mode,
extern int check_float_value PARAMS ((enum machine_mode,
REAL_VALUE_TYPE *, int));
#endif
#if OPEN_VMS
#ifdef HAVE_MACHINE_MODES
extern enum avms_arg_type alpha_arg_type PROTO ((enum machine_mode));
extern enum avms_arg_type alpha_arg_type PARAMS ((enum machine_mode));
#endif
extern rtx alpha_arg_info_reg_val PROTO ((CUMULATIVE_ARGS));
extern void alpha_write_linkage PROTO ((FILE *));
extern rtx alpha_arg_info_reg_val PARAMS ((CUMULATIVE_ARGS));
extern void alpha_write_linkage PARAMS ((FILE *));
#endif /* OPEN_VMS */
extern void alpha_need_linkage PROTO ((const char *, int));
extern void alpha_need_linkage PARAMS ((const char *, int));
#ifdef TREE_CODE
extern tree alpha_build_va_list PROTO ((void));
extern tree alpha_build_va_list PARAMS ((void));
#ifdef RTX_CODE
extern void alpha_va_start PROTO ((int, tree, rtx));
extern rtx alpha_va_arg PROTO ((tree, tree));
extern void alpha_va_start PARAMS ((int, tree, rtx));
extern rtx alpha_va_arg PARAMS ((tree, tree));
#endif
extern int vms_valid_decl_attribute_p PROTO ((tree, tree, tree, tree));
extern void alpha_start_function PROTO ((FILE *, const char *, tree));
extern void alpha_end_function PROTO ((FILE *, const char *, tree));
extern int vms_valid_decl_attribute_p PARAMS ((tree, tree, tree, tree));
extern void alpha_start_function PARAMS ((FILE *, const char *, tree));
extern void alpha_end_function PARAMS ((FILE *, const char *, tree));
#endif /* TREE CODE */

View File

@ -1,5 +1,5 @@
/* Subroutines used for code generation on the DEC Alpha.
Copyright (C) 1992, 93-98, 1999 Free Software Foundation, Inc.
Copyright (C) 1992, 93-99, 2000 Free Software Foundation, Inc.
Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
This file is part of GNU CC.
@ -99,23 +99,23 @@ static int alpha_sr_alias_set;
/* Declarations of static functions. */
static void alpha_set_memflags_1
PROTO((rtx, int, int, int));
PARAMS ((rtx, int, int, int));
static rtx alpha_emit_set_const_1
PROTO((rtx, enum machine_mode, HOST_WIDE_INT, int));
PARAMS ((rtx, enum machine_mode, HOST_WIDE_INT, int));
static void alpha_expand_unaligned_load_words
PROTO((rtx *out_regs, rtx smem, HOST_WIDE_INT words, HOST_WIDE_INT ofs));
PARAMS ((rtx *out_regs, rtx smem, HOST_WIDE_INT words, HOST_WIDE_INT ofs));
static void alpha_expand_unaligned_store_words
PROTO((rtx *out_regs, rtx smem, HOST_WIDE_INT words, HOST_WIDE_INT ofs));
PARAMS ((rtx *out_regs, rtx smem, HOST_WIDE_INT words, HOST_WIDE_INT ofs));
static void alpha_sa_mask
PROTO((unsigned long *imaskP, unsigned long *fmaskP));
PARAMS ((unsigned long *imaskP, unsigned long *fmaskP));
static int alpha_does_function_need_gp
PROTO((void));
PARAMS ((void));
static void alpha_init_machine_status
PROTO((struct function *p));
PARAMS ((struct function *p));
static void alpha_mark_machine_status
PROTO((struct function *p));
static int alpha_ra_ever_killed PROTO((void));
static rtx set_frame_related_p PROTO((void));
PARAMS ((struct function *p));
static int alpha_ra_ever_killed PARAMS ((void));
static rtx set_frame_related_p PARAMS ((void));
/* Get the number of args of a function in one of two ways. */
@ -4365,8 +4365,8 @@ struct shadow_summary
} used, defd;
};
static void summarize_insn PROTO((rtx, struct shadow_summary *, int));
static void alpha_handle_trap_shadows PROTO((rtx));
static void summarize_insn PARAMS ((rtx, struct shadow_summary *, int));
static void alpha_handle_trap_shadows PARAMS ((rtx));
/* Summary the effects of expression X on the machine. Update SUM, a pointer
to the summary structure. SET is nonzero if the insn is setting the
@ -4684,15 +4684,15 @@ enum alphaev5_pipe {
EV5_FM = 64
};
static enum alphaev4_pipe alphaev4_insn_pipe PROTO((rtx));
static enum alphaev5_pipe alphaev5_insn_pipe PROTO((rtx));
static rtx alphaev4_next_group PROTO((rtx, int*, int*));
static rtx alphaev5_next_group PROTO((rtx, int*, int*));
static rtx alphaev4_next_nop PROTO((int*));
static rtx alphaev5_next_nop PROTO((int*));
static enum alphaev4_pipe alphaev4_insn_pipe PARAMS ((rtx));
static enum alphaev5_pipe alphaev5_insn_pipe PARAMS ((rtx));
static rtx alphaev4_next_group PARAMS ((rtx, int*, int*));
static rtx alphaev5_next_group PARAMS ((rtx, int*, int*));
static rtx alphaev4_next_nop PARAMS ((int*));
static rtx alphaev5_next_nop PARAMS ((int*));
static void alpha_align_insns
PROTO((rtx, int, rtx (*)(rtx, int*, int*), rtx (*)(int*), int));
PARAMS ((rtx, int, rtx (*)(rtx, int*, int*), rtx (*)(int*), int));
static enum alphaev4_pipe
alphaev4_insn_pipe (insn)
@ -5082,8 +5082,8 @@ static void
alpha_align_insns (insns, max_align, next_group, next_nop, gp_in_use)
rtx insns;
int max_align;
rtx (*next_group) PROTO((rtx, int*, int*));
rtx (*next_nop) PROTO((int*));
rtx (*next_group) PARAMS ((rtx, int*, int*));
rtx (*next_nop) PARAMS ((int*));
int gp_in_use;
{
/* ALIGN is the known alignment for the insn group. */

View File

@ -1,5 +1,5 @@
/* Definitions of target machine for GNU compiler, for DEC Alpha w/ELF.
Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
Copyright (C) 1996, 97-99, 2000 Free Software Foundation, Inc.
Contributed by Richard Henderson (rth@tamu.edu).
This file is part of GNU CC.
@ -282,7 +282,7 @@ const_section () \
}
#define SECTION_FUNCTION_TEMPLATE(FN, ENUM, OP) \
void FN PROTO ((void)); \
void FN PARAMS ((void)); \
void FN () \
{ \
if (in_section != ENUM) \

View File

@ -42,11 +42,11 @@ Boston, MA 02111-1307, USA. */
#include "tm_p.h"
/* Forward declarations. */
static int h8300_interrupt_function_p PROTO ((tree));
static int h8300_monitor_function_p PROTO ((tree));
static int h8300_os_task_function_p PROTO ((tree));
static void dosize PROTO ((FILE *, const char *, unsigned int));
static const char *cond_string PROTO ((enum rtx_code));
static int h8300_interrupt_function_p PARAMS ((tree));
static int h8300_monitor_function_p PARAMS ((tree));
static int h8300_os_task_function_p PARAMS ((tree));
static void dosize PARAMS ((FILE *, const char *, unsigned int));
static const char *cond_string PARAMS ((enum rtx_code));
/* CPU_TYPE, says what cpu we're compiling for. */
int cpu_type;
@ -865,8 +865,8 @@ eq_operator (x, mode)
int
handle_pragma (p_getc, p_ungetc, pname)
int (* ATTRIBUTE_UNUSED p_getc) PROTO ((void));
void (* ATTRIBUTE_UNUSED p_ungetc) PROTO ((int));
int (* ATTRIBUTE_UNUSED p_getc) PARAMS ((void));
void (* ATTRIBUTE_UNUSED p_ungetc) PARAMS ((int));
const char *pname;
{
int retval = 0;

View File

@ -19,110 +19,110 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/* Functions in i386.c */
extern void override_options PROTO((void));
extern void order_regs_for_local_alloc PROTO((void));
extern void optimization_options PROTO((int, int));
extern void override_options PARAMS ((void));
extern void order_regs_for_local_alloc PARAMS ((void));
extern void optimization_options PARAMS ((int, int));
extern int ix86_can_use_return_insn_p PROTO((void));
extern int ix86_can_use_return_insn_p PARAMS ((void));
extern void asm_output_function_prefix PROTO((FILE *, char *));
extern void load_pic_register PROTO((void));
extern HOST_WIDE_INT ix86_compute_frame_size PROTO((HOST_WIDE_INT, int *));
extern void ix86_expand_prologue PROTO((void));
extern void ix86_expand_epilogue PROTO((void));
extern void asm_output_function_prefix PARAMS ((FILE *, char *));
extern void load_pic_register PARAMS ((void));
extern HOST_WIDE_INT ix86_compute_frame_size PARAMS ((HOST_WIDE_INT, int *));
extern void ix86_expand_prologue PARAMS ((void));
extern void ix86_expand_epilogue PARAMS ((void));
extern void ix86_output_function_block_profiler PROTO((FILE *, int));
extern void ix86_output_block_profiler PROTO((FILE *, int));
extern void ix86_output_function_block_profiler PARAMS ((FILE *, int));
extern void ix86_output_block_profiler PARAMS ((FILE *, int));
#ifdef RTX_CODE
extern int ix86_aligned_p PROTO((rtx));
extern int ix86_aligned_p PARAMS ((rtx));
extern int standard_80387_constant_p PROTO((rtx));
extern int symbolic_reference_mentioned_p PROTO((rtx));
extern int standard_80387_constant_p PARAMS ((rtx));
extern int symbolic_reference_mentioned_p PARAMS ((rtx));
extern int symbolic_operand PROTO((rtx, enum machine_mode));
extern int pic_symbolic_operand PROTO((rtx, enum machine_mode));
extern int call_insn_operand PROTO((rtx, enum machine_mode));
extern int expander_call_insn_operand PROTO((rtx, enum machine_mode));
extern int constant_call_address_operand PROTO((rtx, enum machine_mode));
extern int const0_operand PROTO((rtx, enum machine_mode));
extern int const1_operand PROTO((rtx, enum machine_mode));
extern int const248_operand PROTO((rtx, enum machine_mode));
extern int incdec_operand PROTO((rtx, enum machine_mode));
extern int reg_no_sp_operand PROTO((rtx, enum machine_mode));
extern int q_regs_operand PROTO((rtx, enum machine_mode));
extern int non_q_regs_operand PROTO((rtx, enum machine_mode));
extern int no_comparison_operator PROTO((rtx, enum machine_mode));
extern int fcmov_comparison_operator PROTO((rtx, enum machine_mode));
extern int cmp_fp_expander_operand PROTO((rtx, enum machine_mode));
extern int ext_register_operand PROTO((rtx, enum machine_mode));
extern int binary_fp_operator PROTO((rtx, enum machine_mode));
extern int mult_operator PROTO((rtx, enum machine_mode));
extern int div_operator PROTO((rtx, enum machine_mode));
extern int arith_or_logical_operator PROTO((rtx, enum machine_mode));
extern int promotable_binary_operator PROTO((rtx, enum machine_mode));
extern int memory_displacement_operand PROTO((rtx, enum machine_mode));
extern int cmpsi_operand PROTO((rtx, enum machine_mode));
extern int long_memory_operand PROTO((rtx, enum machine_mode));
extern int symbolic_operand PARAMS ((rtx, enum machine_mode));
extern int pic_symbolic_operand PARAMS ((rtx, enum machine_mode));
extern int call_insn_operand PARAMS ((rtx, enum machine_mode));
extern int expander_call_insn_operand PARAMS ((rtx, enum machine_mode));
extern int constant_call_address_operand PARAMS ((rtx, enum machine_mode));
extern int const0_operand PARAMS ((rtx, enum machine_mode));
extern int const1_operand PARAMS ((rtx, enum machine_mode));
extern int const248_operand PARAMS ((rtx, enum machine_mode));
extern int incdec_operand PARAMS ((rtx, enum machine_mode));
extern int reg_no_sp_operand PARAMS ((rtx, enum machine_mode));
extern int q_regs_operand PARAMS ((rtx, enum machine_mode));
extern int non_q_regs_operand PARAMS ((rtx, enum machine_mode));
extern int no_comparison_operator PARAMS ((rtx, enum machine_mode));
extern int fcmov_comparison_operator PARAMS ((rtx, enum machine_mode));
extern int cmp_fp_expander_operand PARAMS ((rtx, enum machine_mode));
extern int ext_register_operand PARAMS ((rtx, enum machine_mode));
extern int binary_fp_operator PARAMS ((rtx, enum machine_mode));
extern int mult_operator PARAMS ((rtx, enum machine_mode));
extern int div_operator PARAMS ((rtx, enum machine_mode));
extern int arith_or_logical_operator PARAMS ((rtx, enum machine_mode));
extern int promotable_binary_operator PARAMS ((rtx, enum machine_mode));
extern int memory_displacement_operand PARAMS ((rtx, enum machine_mode));
extern int cmpsi_operand PARAMS ((rtx, enum machine_mode));
extern int long_memory_operand PARAMS ((rtx, enum machine_mode));
extern int legitimate_pic_address_disp_p PROTO((rtx));
extern int legitimate_address_p PROTO((enum machine_mode, rtx, int));
extern rtx legitimize_pic_address PROTO((rtx, rtx));
extern rtx legitimize_address PROTO((rtx, rtx, enum machine_mode));
extern int legitimate_pic_address_disp_p PARAMS ((rtx));
extern int legitimate_address_p PARAMS ((enum machine_mode, rtx, int));
extern rtx legitimize_pic_address PARAMS ((rtx, rtx));
extern rtx legitimize_address PARAMS ((rtx, rtx, enum machine_mode));
extern void print_reg PROTO((rtx, int, FILE*));
extern void print_operand PROTO((FILE*, rtx, int));
extern void print_operand_address PROTO((FILE*, rtx));
extern void print_reg PARAMS ((rtx, int, FILE*));
extern void print_operand PARAMS ((FILE*, rtx, int));
extern void print_operand_address PARAMS ((FILE*, rtx));
extern void split_di PROTO((rtx[], int, rtx[], rtx[]));
extern void split_di PARAMS ((rtx[], int, rtx[], rtx[]));
extern const char *output_387_binary_op PROTO((rtx, rtx*));
extern const char *output_fix_trunc PROTO((rtx, rtx*));
extern const char *output_fp_compare PROTO((rtx, rtx*, int, int));
extern const char *output_387_binary_op PARAMS ((rtx, rtx*));
extern const char *output_fix_trunc PARAMS ((rtx, rtx*));
extern const char *output_fp_compare PARAMS ((rtx, rtx*, int, int));
extern void ix86_expand_move PROTO((enum machine_mode, rtx[]));
extern void ix86_expand_binary_operator PROTO((enum rtx_code,
extern void ix86_expand_move PARAMS ((enum machine_mode, rtx[]));
extern void ix86_expand_binary_operator PARAMS ((enum rtx_code,
enum machine_mode, rtx[]));
extern int ix86_binary_operator_ok PROTO((enum rtx_code, enum machine_mode,
extern int ix86_binary_operator_ok PARAMS ((enum rtx_code, enum machine_mode,
rtx[]));
extern void ix86_expand_unary_operator PROTO((enum rtx_code, enum machine_mode,
extern void ix86_expand_unary_operator PARAMS ((enum rtx_code, enum machine_mode,
rtx[]));
extern int ix86_unary_operator_ok PROTO((enum rtx_code, enum machine_mode,
extern int ix86_unary_operator_ok PARAMS ((enum rtx_code, enum machine_mode,
rtx[]));
extern void ix86_expand_branch PROTO((enum rtx_code, int, rtx));
extern int ix86_expand_setcc PROTO((enum rtx_code, int, rtx));
extern int ix86_expand_int_movcc PROTO((rtx[]));
extern int ix86_expand_fp_movcc PROTO((rtx[]));
extern int ix86_split_long_move PROTO((rtx[]));
extern void ix86_split_ashldi PROTO((rtx *, rtx));
extern void ix86_split_ashrdi PROTO((rtx *, rtx));
extern void ix86_split_lshrdi PROTO((rtx *, rtx));
extern void ix86_expand_strlensi_unroll_1 PROTO((rtx, rtx, rtx));
extern void ix86_expand_branch PARAMS ((enum rtx_code, int, rtx));
extern int ix86_expand_setcc PARAMS ((enum rtx_code, int, rtx));
extern int ix86_expand_int_movcc PARAMS ((rtx[]));
extern int ix86_expand_fp_movcc PARAMS ((rtx[]));
extern int ix86_split_long_move PARAMS ((rtx[]));
extern void ix86_split_ashldi PARAMS ((rtx *, rtx));
extern void ix86_split_ashrdi PARAMS ((rtx *, rtx));
extern void ix86_split_lshrdi PARAMS ((rtx *, rtx));
extern void ix86_expand_strlensi_unroll_1 PARAMS ((rtx, rtx, rtx));
extern rtx assign_386_stack_local PROTO((enum machine_mode, int));
extern int ix86_attr_length_default PROTO((rtx));
extern rtx assign_386_stack_local PARAMS ((enum machine_mode, int));
extern int ix86_attr_length_default PARAMS ((rtx));
extern int ix86_issue_rate PROTO((void));
extern int ix86_adjust_cost PROTO((rtx, rtx, rtx, int));
extern void ix86_sched_init PROTO((FILE *, int));
extern int ix86_sched_reorder PROTO((FILE *, int, rtx *, int, int));
extern int ix86_variable_issue PROTO((FILE *, int, rtx, int));
extern int ix86_issue_rate PARAMS ((void));
extern int ix86_adjust_cost PARAMS ((rtx, rtx, rtx, int));
extern void ix86_sched_init PARAMS ((FILE *, int));
extern int ix86_sched_reorder PARAMS ((FILE *, int, rtx *, int, int));
extern int ix86_variable_issue PARAMS ((FILE *, int, rtx, int));
#ifdef TREE_CODE
extern void init_cumulative_args PROTO((CUMULATIVE_ARGS *, tree, rtx));
extern rtx function_arg PROTO((CUMULATIVE_ARGS *, enum machine_mode, tree, int));
extern void function_arg_advance PROTO((CUMULATIVE_ARGS *, enum machine_mode,
extern void init_cumulative_args PARAMS ((CUMULATIVE_ARGS *, tree, rtx));
extern rtx function_arg PARAMS ((CUMULATIVE_ARGS *, enum machine_mode, tree, int));
extern void function_arg_advance PARAMS ((CUMULATIVE_ARGS *, enum machine_mode,
tree, int));
#endif
#endif
#ifdef TREE_CODE
extern int ix86_valid_decl_attribute_p PROTO((tree, tree, tree, tree));
extern int ix86_valid_type_attribute_p PROTO((tree, tree, tree, tree));
extern int ix86_comp_type_attributes PROTO((tree, tree));
extern int ix86_return_pops_args PROTO((tree, tree, int));
extern int ix86_valid_decl_attribute_p PARAMS ((tree, tree, tree, tree));
extern int ix86_valid_type_attribute_p PARAMS ((tree, tree, tree, tree));
extern int ix86_comp_type_attributes PARAMS ((tree, tree));
extern int ix86_return_pops_args PARAMS ((tree, tree, int));
#endif

View File

@ -302,29 +302,29 @@ int ix86_align_loops;
/* Power of two alignment for non-loop jumps. */
int ix86_align_jumps;
static void output_pic_addr_const PROTO ((FILE *, rtx, int));
static void put_condition_code PROTO ((enum rtx_code, enum machine_mode,
static void output_pic_addr_const PARAMS ((FILE *, rtx, int));
static void put_condition_code PARAMS ((enum rtx_code, enum machine_mode,
int, int, FILE *));
static enum rtx_code unsigned_comparison PROTO ((enum rtx_code code));
static rtx ix86_expand_int_compare PROTO ((enum rtx_code, rtx, rtx));
static rtx ix86_expand_fp_compare PROTO ((enum rtx_code, rtx, rtx, int));
static rtx ix86_expand_compare PROTO ((enum rtx_code, int));
static rtx gen_push PROTO ((rtx));
static int memory_address_length PROTO ((rtx addr));
static int ix86_flags_dependant PROTO ((rtx, rtx, enum attr_type));
static int ix86_agi_dependant PROTO ((rtx, rtx, enum attr_type));
static int ix86_safe_length PROTO ((rtx));
static enum attr_memory ix86_safe_memory PROTO ((rtx));
static enum attr_pent_pair ix86_safe_pent_pair PROTO ((rtx));
static enum attr_ppro_uops ix86_safe_ppro_uops PROTO ((rtx));
static void ix86_dump_ppro_packet PROTO ((FILE *));
static void ix86_reorder_insn PROTO ((rtx *, rtx *));
static rtx * ix86_pent_find_pair PROTO ((rtx *, rtx *, enum attr_pent_pair,
static enum rtx_code unsigned_comparison PARAMS ((enum rtx_code code));
static rtx ix86_expand_int_compare PARAMS ((enum rtx_code, rtx, rtx));
static rtx ix86_expand_fp_compare PARAMS ((enum rtx_code, rtx, rtx, int));
static rtx ix86_expand_compare PARAMS ((enum rtx_code, int));
static rtx gen_push PARAMS ((rtx));
static int memory_address_length PARAMS ((rtx addr));
static int ix86_flags_dependant PARAMS ((rtx, rtx, enum attr_type));
static int ix86_agi_dependant PARAMS ((rtx, rtx, enum attr_type));
static int ix86_safe_length PARAMS ((rtx));
static enum attr_memory ix86_safe_memory PARAMS ((rtx));
static enum attr_pent_pair ix86_safe_pent_pair PARAMS ((rtx));
static enum attr_ppro_uops ix86_safe_ppro_uops PARAMS ((rtx));
static void ix86_dump_ppro_packet PARAMS ((FILE *));
static void ix86_reorder_insn PARAMS ((rtx *, rtx *));
static rtx * ix86_pent_find_pair PARAMS ((rtx *, rtx *, enum attr_pent_pair,
rtx));
static void ix86_init_machine_status PROTO ((struct function *));
static void ix86_mark_machine_status PROTO ((struct function *));
static void ix86_split_to_parts PROTO ((rtx, rtx *, enum machine_mode));
static int ix86_safe_length_prefix PROTO ((rtx));
static void ix86_init_machine_status PARAMS ((struct function *));
static void ix86_mark_machine_status PARAMS ((struct function *));
static void ix86_split_to_parts PARAMS ((rtx, rtx *, enum machine_mode));
static int ix86_safe_length_prefix PARAMS ((rtx));
struct ix86_address
{

View File

@ -1,5 +1,5 @@
/* Prototypes for m32r.c functions used in the md file & elsewhere.
Copyright (C) 1999 Free Software Foundation, Inc.
Copyright (C) 1999, 2000 Free Software Foundation, Inc.
This file is part of GNU CC.
@ -22,88 +22,88 @@ Boston, MA 02111-1307, USA. */
compilcations. */
#define Mmode enum machine_mode
extern void sbss_section PROTO ((void));
extern void sdata_section PROTO ((void));
extern void m32r_init PROTO ((void));
extern void m32r_init_expanders PROTO ((void));
extern unsigned m32r_compute_frame_size PROTO ((int));
extern int m32r_first_insn_address PROTO ((void));
extern void m32r_expand_prologue PROTO ((void));
extern void m32r_output_function_prologue PROTO ((FILE *, int));
extern void m32r_output_function_epilogue PROTO ((FILE *, int));
extern void m32r_finalize_pic PROTO ((void));
extern void m32r_asm_file_start PROTO ((FILE *));
extern void m32r_sched_init PROTO ((FILE *, int));
extern int direct_return PROTO ((void));
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_output_function_prologue PARAMS ((FILE *, int));
extern void m32r_output_function_epilogue PARAMS ((FILE *, int));
extern void m32r_finalize_pic PARAMS ((void));
extern void m32r_asm_file_start PARAMS ((FILE *));
extern void m32r_sched_init PARAMS ((FILE *, int));
extern int direct_return PARAMS ((void));
#ifdef TREE_CODE
extern int m32r_valid_machine_decl_attribute PROTO ((tree, tree, tree, tree));
extern int m32r_comp_type_attributes PROTO ((tree, tree));
extern void m32r_select_section PROTO ((tree, int));
extern void m32r_encode_section_info PROTO ((tree));
extern enum m32r_function_type m32r_compute_function_type PROTO ((tree));
extern void m32r_select_section PROTO ((tree, int));
extern void m32r_set_default_type_attributes PROTO ((tree));
extern int m32r_valid_machine_decl_attribute PARAMS ((tree, tree, tree, tree));
extern int m32r_comp_type_attributes PARAMS ((tree, tree));
extern void m32r_select_section PARAMS ((tree, int));
extern void m32r_encode_section_info PARAMS ((tree));
extern enum m32r_function_type m32r_compute_function_type PARAMS ((tree));
extern void m32r_select_section PARAMS ((tree, int));
extern void m32r_set_default_type_attributes PARAMS ((tree));
#ifdef HAVE_MACHINE_MODES
extern void m32r_setup_incoming_varargs PROTO ((CUMULATIVE_ARGS *, Mmode, tree, int *, int));
extern int function_arg_partial_nregs PROTO ((CUMULATIVE_ARGS *, Mmode, tree, int));
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));
#endif
#endif /* TREE_CODE */
#ifdef RTX_CODE
extern int easy_di_const PROTO ((rtx));
extern int easy_df_const PROTO ((rtx));
extern int m32r_select_cc_mode PROTO ((int, rtx, rtx));
extern rtx gen_compare PROTO ((enum rtx_code, rtx, rtx, int));
extern rtx gen_split_move_double PROTO ((rtx *));
extern int m32r_address_code PROTO ((rtx));
extern void m32r_initialize_trampoline PROTO ((rtx, rtx, rtx));
extern int zero_and_one PROTO ((rtx, rtx));
extern char * emit_cond_move PROTO ((rtx *, rtx));
extern char * m32r_output_block_move PROTO ((rtx, rtx *));
extern void m32r_expand_block_move PROTO ((rtx *));
extern void m32r_print_operand PROTO ((FILE *, rtx, int));
extern void m32r_print_operand_address PROTO ((FILE *, rtx));
extern int m32r_address_cost PROTO ((rtx));
extern int m32r_adjust_cost PROTO ((rtx, rtx, rtx, int));
extern int m32r_adjust_priority PROTO ((rtx, int));
extern void m32r_sched_reorder PROTO ((FILE *, int, rtx *, int));
extern int m32r_sched_variable_issue PROTO ((FILE *, int, rtx, int));
extern int m32r_not_same_reg PROTO ((rtx, rtx));
extern int easy_di_const PARAMS ((rtx));
extern int easy_df_const PARAMS ((rtx));
extern int m32r_select_cc_mode PARAMS ((int, rtx, 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 char * 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_address_cost PARAMS ((rtx));
extern int m32r_adjust_cost PARAMS ((rtx, rtx, rtx, int));
extern int m32r_adjust_priority PARAMS ((rtx, int));
extern void m32r_sched_reorder PARAMS ((FILE *, int, rtx *, int));
extern int m32r_sched_variable_issue PARAMS ((FILE *, int, rtx, int));
extern int m32r_not_same_reg PARAMS ((rtx, rtx));
#ifdef HAVE_MACHINE_MODES
extern int call_address_operand PROTO ((rtx, Mmode));
extern int call_operand PROTO ((rtx, Mmode));
extern int symbolic_operand PROTO ((rtx, Mmode));
extern int small_data_operand PROTO ((rtx, Mmode));
extern int addr24_operand PROTO ((rtx, Mmode));
extern int addr32_operand PROTO ((rtx, Mmode));
extern int call26_operand PROTO ((rtx, Mmode));
extern int seth_add3_operand PROTO ((rtx, Mmode));
extern int cmp_int16_operand PROTO ((rtx, Mmode));
extern int uint16_operand PROTO ((rtx, Mmode));
extern int reg_or_int16_operand PROTO ((rtx, Mmode));
extern int reg_or_uint16_operand PROTO ((rtx, Mmode));
extern int reg_or_cmp_int16_operand PROTO ((rtx, Mmode));
extern int two_insn_const_operand PROTO ((rtx, Mmode));
extern int move_src_operand PROTO ((rtx, Mmode));
extern int move_double_src_operand PROTO ((rtx, Mmode));
extern int move_dest_operand PROTO ((rtx, Mmode));
extern int eqne_comparison_operator PROTO ((rtx, Mmode));
extern int signed_comparison_operator PROTO ((rtx, Mmode));
extern int memreg_operand PROTO ((rtx, Mmode));
extern int small_insn_p PROTO ((rtx, Mmode));
extern int large_insn_p PROTO ((rtx, Mmode));
extern int conditional_move_operand PROTO ((rtx, Mmode));
extern int carry_compare_operand PROTO ((rtx, Mmode));
extern int m32r_block_immediate_operand PROTO ((rtx, Mmode));
extern int extend_operand PROTO ((rtx, Mmode));
extern int reg_or_eq_int16_operand PROTO ((rtx, Mmode));
extern int int8_operand PROTO ((rtx, Mmode));
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));
#endif /* HAVE_MACHINE_MODES */
#ifdef TREE_CODE
extern struct rtx_def * m32r_va_arg PROTO ((tree, tree));
extern struct rtx_def * m32r_va_arg PARAMS ((tree, tree));
#endif /* TREE_CODE */
#endif /* RTX_CODE */

View File

@ -1,5 +1,5 @@
/* Subroutines used for code generation on the Mitsubishi M32R cpu.
Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
Copyright (C) 1996, 97-99, 2000 Free Software Foundation, Inc.
This file is part of GNU CC.
@ -56,7 +56,7 @@ enum m32r_sdata m32r_sdata;
int m32r_sched_odd_word_p;
/* Forward declaration. */
static void init_reg_tables PROTO ((void));
static void init_reg_tables PARAMS ((void));
/* Called by OVERRIDE_OPTIONS to initialize various things. */
@ -221,7 +221,7 @@ static tree large_ident1;
static tree large_ident2;
static void
init_idents PROTO ((void))
init_idents PARAMS ((void))
{
if (interrupt_ident1 == 0)
{

View File

@ -86,30 +86,30 @@ enum internal_test {
struct constant;
static enum internal_test map_test_to_internal_test PROTO ((enum rtx_code));
static int mips16_simple_memory_operand PROTO ((rtx, rtx,
static enum internal_test map_test_to_internal_test PARAMS ((enum rtx_code));
static int mips16_simple_memory_operand PARAMS ((rtx, rtx,
enum machine_mode));
static int m16_check_op PROTO ((rtx, int, int, int));
static void block_move_loop PROTO ((rtx, rtx, int, int,
static int m16_check_op PARAMS ((rtx, int, int, int));
static void block_move_loop PARAMS ((rtx, rtx, int, int,
rtx, rtx));
static void block_move_call PROTO ((rtx, rtx, rtx));
static FILE *mips_make_temp_file PROTO ((void));
static void save_restore_insns PROTO ((int, rtx,
static void block_move_call PARAMS ((rtx, rtx, rtx));
static FILE *mips_make_temp_file PARAMS ((void));
static void save_restore_insns PARAMS ((int, rtx,
long, FILE *));
static void mips16_output_gp_offset PROTO ((FILE *, rtx));
static void mips16_fp_args PROTO ((FILE *, int, int));
static void build_mips16_function_stub PROTO ((FILE *));
static void mips16_optimize_gp PROTO ((rtx));
static rtx add_constant PROTO ((struct constant **,
static void mips16_output_gp_offset PARAMS ((FILE *, rtx));
static void mips16_fp_args PARAMS ((FILE *, int, int));
static void build_mips16_function_stub PARAMS ((FILE *));
static void mips16_optimize_gp PARAMS ((rtx));
static rtx add_constant PARAMS ((struct constant **,
rtx,
enum machine_mode));
static void dump_constants PROTO ((struct constant *,
static void dump_constants PARAMS ((struct constant *,
rtx));
static rtx mips_find_symbol PROTO ((rtx));
static void abort_with_insn PROTO ((rtx, const char *))
static rtx mips_find_symbol PARAMS ((rtx));
static void abort_with_insn PARAMS ((rtx, const char *))
ATTRIBUTE_NORETURN;
static int symbolic_expression_p PROTO ((rtx));
static void mips_add_gc_roots PROTO ((void));
static int symbolic_expression_p PARAMS ((rtx));
static void mips_add_gc_roots PARAMS ((void));
/* Global variables for machine-dependent things. */

View File

@ -1930,7 +1930,7 @@
rtx dummy = gen_rtx (SIGN_EXTEND, DImode, const0_rtx);
rtx dummy2 = gen_rtx_LSHIFTRT (DImode, const0_rtx, const0_rtx);
#ifndef NO_MD_PROTOTYPES
rtx (*genfn) PROTO((rtx, rtx, rtx, rtx, rtx, rtx));
rtx (*genfn) PARAMS ((rtx, rtx, rtx, rtx, rtx, rtx));
#else
rtx (*genfn) ();
#endif
@ -1952,7 +1952,7 @@
rtx dummy = gen_rtx (ZERO_EXTEND, DImode, const0_rtx);
rtx dummy2 = gen_rtx_LSHIFTRT (DImode, const0_rtx, const0_rtx);
#ifndef NO_MD_PROTOTYPES
rtx (*genfn) PROTO((rtx, rtx, rtx, rtx, rtx, rtx));
rtx (*genfn) PARAMS ((rtx, rtx, rtx, rtx, rtx, rtx));
#else
rtx (*genfn) ();
#endif

View File

@ -85,9 +85,9 @@ static int s_scale;
#define MSG "No space for profiling buffer(s)\n"
static void moncontrol PROTO ((int));
extern void monstartup PROTO ((char *, char *));
extern void _mcleanup PROTO ((void));
static void moncontrol PARAMS ((int));
extern void monstartup PARAMS ((char *, char *));
extern void _mcleanup PARAMS ((void));
void monstartup(lowpc, highpc)
char *lowpc;
@ -266,7 +266,7 @@ _mcleanup()
* -- [eichin:19920702.1107EST]
*/
static void internal_mcount PROTO((char *, unsigned short *)) ATTRIBUTE_UNUSED;
static void internal_mcount PARAMS ((char *, unsigned short *)) ATTRIBUTE_UNUSED;
/* i7 == last ret, -> frompcindex */
/* o7 == current ret, -> selfpc */

View File

@ -108,34 +108,34 @@ char leaf_reg_remap[] =
static const char *frame_base_name;
static int frame_base_offset;
static rtx pic_setup_code PROTO((void));
static void sparc_init_modes PROTO((void));
static int save_regs PROTO((FILE *, int, int, const char *,
static rtx pic_setup_code PARAMS ((void));
static void sparc_init_modes PARAMS ((void));
static int save_regs PARAMS ((FILE *, int, int, const char *,
int, int, int));
static int restore_regs PROTO((FILE *, int, int, const char *, int, int));
static void build_big_number PROTO((FILE *, int, const char *));
static int function_arg_slotno PROTO((const CUMULATIVE_ARGS *,
static int restore_regs PARAMS ((FILE *, int, int, const char *, int, int));
static void build_big_number PARAMS ((FILE *, int, const char *));
static int function_arg_slotno PARAMS ((const CUMULATIVE_ARGS *,
enum machine_mode, tree, int, int,
int *, int *));
static int supersparc_adjust_cost PROTO((rtx, rtx, rtx, int));
static int hypersparc_adjust_cost PROTO((rtx, rtx, rtx, int));
static int ultrasparc_adjust_cost PROTO((rtx, rtx, rtx, int));
static int supersparc_adjust_cost PARAMS ((rtx, rtx, rtx, int));
static int hypersparc_adjust_cost PARAMS ((rtx, rtx, rtx, int));
static int ultrasparc_adjust_cost PARAMS ((rtx, rtx, rtx, int));
static void sparc_output_addr_vec PROTO((rtx));
static void sparc_output_addr_diff_vec PROTO((rtx));
static void sparc_output_deferred_case_vectors PROTO((void));
static void sparc_add_gc_roots PROTO ((void));
static void mark_ultrasparc_pipeline_state PROTO ((void *));
static int check_return_regs PROTO ((rtx));
static int epilogue_renumber PROTO ((rtx *, int));
static int ultra_cmove_results_ready_p PROTO ((rtx));
static int ultra_fpmode_conflict_exists PROTO ((enum machine_mode));
static rtx *ultra_find_type PROTO ((int, rtx *, int));
static void ultra_build_types_avail PROTO ((rtx *, int));
static void ultra_flush_pipeline PROTO ((void));
static void ultra_rescan_pipeline_state PROTO ((rtx *, int));
static int set_extends PROTO ((rtx, rtx));
static void sparc_output_addr_vec PARAMS ((rtx));
static void sparc_output_addr_diff_vec PARAMS ((rtx));
static void sparc_output_deferred_case_vectors PARAMS ((void));
static void sparc_add_gc_roots PARAMS ((void));
static void mark_ultrasparc_pipeline_state PARAMS ((void *));
static int check_return_regs PARAMS ((rtx));
static int epilogue_renumber PARAMS ((rtx *, int));
static int ultra_cmove_results_ready_p PARAMS ((rtx));
static int ultra_fpmode_conflict_exists PARAMS ((enum machine_mode));
static rtx *ultra_find_type PARAMS ((int, rtx *, int));
static void ultra_build_types_avail PARAMS ((rtx *, int));
static void ultra_flush_pipeline PARAMS ((void));
static void ultra_rescan_pipeline_state PARAMS ((rtx *, int));
static int set_extends PARAMS ((rtx, rtx));
/* Option handling. */
@ -1421,10 +1421,10 @@ sparc_emit_set_symbolic_const64 (op0, op1, temp1)
/* These avoid problems when cross compiling. If we do not
go through all this hair then the optimizer will see
invalid REG_EQUAL notes or in some cases none at all. */
static void sparc_emit_set_safe_HIGH64 PROTO ((rtx, HOST_WIDE_INT));
static rtx gen_safe_SET64 PROTO ((rtx, HOST_WIDE_INT));
static rtx gen_safe_OR64 PROTO ((rtx, HOST_WIDE_INT));
static rtx gen_safe_XOR64 PROTO ((rtx, HOST_WIDE_INT));
static void sparc_emit_set_safe_HIGH64 PARAMS ((rtx, HOST_WIDE_INT));
static rtx gen_safe_SET64 PARAMS ((rtx, HOST_WIDE_INT));
static rtx gen_safe_OR64 PARAMS ((rtx, HOST_WIDE_INT));
static rtx gen_safe_XOR64 PARAMS ((rtx, HOST_WIDE_INT));
#if HOST_BITS_PER_WIDE_INT == 64
#define GEN_HIGHINT64(__x) GEN_INT ((__x) & 0xfffffc00)
@ -1486,7 +1486,7 @@ gen_safe_XOR64 (src, val)
opportunities. */
static void sparc_emit_set_const64_quick1
PROTO((rtx, rtx, unsigned HOST_WIDE_INT, int));
PARAMS ((rtx, rtx, unsigned HOST_WIDE_INT, int));
static void
sparc_emit_set_const64_quick1 (op0, temp, low_bits, is_neg)
@ -1528,7 +1528,7 @@ sparc_emit_set_const64_quick1 (op0, temp, low_bits, is_neg)
}
static void sparc_emit_set_const64_quick2
PROTO((rtx, rtx, unsigned HOST_WIDE_INT,
PARAMS ((rtx, rtx, unsigned HOST_WIDE_INT,
unsigned HOST_WIDE_INT, int));
static void
@ -1569,7 +1569,7 @@ sparc_emit_set_const64_quick2 (op0, temp, high_bits, low_immediate, shift_count)
}
static void sparc_emit_set_const64_longway
PROTO((rtx, rtx, unsigned HOST_WIDE_INT, unsigned HOST_WIDE_INT));
PARAMS ((rtx, rtx, unsigned HOST_WIDE_INT, unsigned HOST_WIDE_INT));
/* Full 64-bit constant decomposition. Even though this is the
'worst' case, we still optimize a few things away. */
@ -1677,7 +1677,7 @@ sparc_emit_set_const64_longway (op0, temp, high_bits, low_bits)
/* Analyze a 64-bit constant for certain properties. */
static void analyze_64bit_constant
PROTO((unsigned HOST_WIDE_INT,
PARAMS ((unsigned HOST_WIDE_INT,
unsigned HOST_WIDE_INT,
int *, int *, int *));
@ -1746,7 +1746,7 @@ analyze_64bit_constant (high_bits, low_bits, hbsp, lbsp, abbasp)
}
static int const64_is_2insns
PROTO((unsigned HOST_WIDE_INT, unsigned HOST_WIDE_INT));
PARAMS ((unsigned HOST_WIDE_INT, unsigned HOST_WIDE_INT));
static int
const64_is_2insns (high_bits, low_bits)
@ -1774,7 +1774,7 @@ const64_is_2insns (high_bits, low_bits)
}
static unsigned HOST_WIDE_INT create_simple_focus_bits
PROTO((unsigned HOST_WIDE_INT, unsigned HOST_WIDE_INT,
PARAMS ((unsigned HOST_WIDE_INT, unsigned HOST_WIDE_INT,
int, int));
static unsigned HOST_WIDE_INT
@ -3782,13 +3782,13 @@ struct function_arg_record_value_parms
};
static void function_arg_record_value_3
PROTO((int, struct function_arg_record_value_parms *));
PARAMS ((int, struct function_arg_record_value_parms *));
static void function_arg_record_value_2
PROTO((tree, int, struct function_arg_record_value_parms *));
PARAMS ((tree, int, struct function_arg_record_value_parms *));
static void function_arg_record_value_1
PROTO((tree, int, struct function_arg_record_value_parms *));
PARAMS ((tree, int, struct function_arg_record_value_parms *));
static rtx function_arg_record_value
PROTO((tree, enum machine_mode, int, int, int));
PARAMS ((tree, enum machine_mode, int, int, int));
static void
function_arg_record_value_1 (type, startbitpos, parms)
@ -6884,8 +6884,8 @@ enum ultra_code { NONE=0, /* no insn at all */
SINGLE, /* single issue instructions */
NUM_ULTRA_CODES };
static enum ultra_code ultra_code_from_mask PROTO ((int));
static void ultra_schedule_insn PROTO ((rtx *, rtx *, int, enum ultra_code));
static enum ultra_code ultra_code_from_mask PARAMS ((int));
static void ultra_schedule_insn PARAMS ((rtx *, rtx *, int, enum ultra_code));
static const char *ultra_code_names[NUM_ULTRA_CODES] = {
"NONE", "IEU0", "IEU1", "IEUN", "LSU", "CTI",