Commit 13536812 by Kaveh R. Ghazi Committed by Kaveh Ghazi

machmode.h: PROTO -> PARAMS.

        * machmode.h: PROTO -> PARAMS.
        * mbchar.h: Likewise.
        * mips-tdump.c: Likewise.
        * mips-tfile.c: Likewise.
        * optabs.c: Likewise.
        * output.h: Likewise.
        * prefix.c: Likewise.
        * profile.c: Likewise.
        * protoize.c: Likewise.
        * real.h: Likewise.
        * recog.c: Likewise.
        * recog.h: Likewise.
        * regclass.c: Likewise.
        * regmove.c: Likewise.
        * regs.h: Likewise.

From-SVN: r31459
parent 3fe41456
2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* machmode.h: PROTO -> PARAMS.
* mbchar.h: Likewise.
* mips-tdump.c: Likewise.
* mips-tfile.c: Likewise.
* optabs.c: Likewise.
* output.h: Likewise.
* prefix.c: Likewise.
* profile.c: Likewise.
* protoize.c: Likewise.
* real.h: Likewise.
* recog.c: Likewise.
* recog.h: Likewise.
* regclass.c: Likewise.
* regmove.c: Likewise.
* regs.h: Likewise.
2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* ggc-common.c: PROTO -> PARAMS. * ggc-common.c: PROTO -> PARAMS.
* ggc-page.c: Likewise. * ggc-page.c: Likewise.
* ggc-simple.c: Likewise. * ggc-simple.c: Likewise.
......
...@@ -105,22 +105,22 @@ extern const unsigned char mode_wider_mode[]; ...@@ -105,22 +105,22 @@ extern const unsigned char mode_wider_mode[];
If LIMIT is nonzero, then don't use modes bigger than MAX_FIXED_MODE_SIZE. If LIMIT is nonzero, then don't use modes bigger than MAX_FIXED_MODE_SIZE.
The value is BLKmode if no other mode is found. */ The value is BLKmode if no other mode is found. */
extern enum machine_mode mode_for_size PROTO((unsigned int, enum mode_class, int)); extern enum machine_mode mode_for_size PARAMS ((unsigned int, enum mode_class, int));
/* Similar, but find the smallest mode for a given width. */ /* Similar, but find the smallest mode for a given width. */
extern enum machine_mode smallest_mode_for_size PROTO((unsigned int, extern enum machine_mode smallest_mode_for_size PARAMS ((unsigned int,
enum mode_class)); enum mode_class));
/* Return an integer mode of the exact same size as the input mode, /* Return an integer mode of the exact same size as the input mode,
or BLKmode on failure. */ or BLKmode on failure. */
extern enum machine_mode int_mode_for_mode PROTO((enum machine_mode)); extern enum machine_mode int_mode_for_mode PARAMS ((enum machine_mode));
/* Find the best mode to use to access a bit field. */ /* Find the best mode to use to access a bit field. */
extern enum machine_mode get_best_mode PROTO((int, int, int, enum machine_mode, int)); extern enum machine_mode get_best_mode PARAMS ((int, int, int, enum machine_mode, int));
/* Determine alignment, 1<=result<=BIGGEST_ALIGNMENT. */ /* Determine alignment, 1<=result<=BIGGEST_ALIGNMENT. */
......
...@@ -31,9 +31,9 @@ Boston, MA 02111-1307, USA. */ ...@@ -31,9 +31,9 @@ Boston, MA 02111-1307, USA. */
#define ISEUCJP(c) ((c) >= 0xa1 && (c) <= 0xfe) #define ISEUCJP(c) ((c) >= 0xa1 && (c) <= 0xfe)
#define ISJIS(c) ((c) >= 0x21 && (c) <= 0x7e) #define ISJIS(c) ((c) >= 0x21 && (c) <= 0x7e)
extern int local_mbtowc PROTO ((wchar_t *, const char *, size_t)); extern int local_mbtowc PARAMS ((wchar_t *, const char *, size_t));
extern int local_mblen PROTO ((const char *, size_t)); extern int local_mblen PARAMS ((const char *, size_t));
extern int local_mb_cur_max PROTO ((void)); extern int local_mb_cur_max PARAMS ((void));
/* The locale being used for multibyte characters in string/char literals. */ /* The locale being used for multibyte characters in string/char literals. */
extern const char *literal_codeset; extern const char *literal_codeset;
......
...@@ -56,8 +56,8 @@ typedef const PTR_T CPTR_T; ...@@ -56,8 +56,8 @@ typedef const PTR_T CPTR_T;
#define uint unsigned int #define uint unsigned int
#define ulong unsigned long #define ulong unsigned long
void fatal PROTO ((const char *)) ATTRIBUTE_NORETURN; void fatal PARAMS ((const char *)) ATTRIBUTE_NORETURN;
void fancy_abort PROTO ((void)) ATTRIBUTE_NORETURN; void fancy_abort PARAMS ((void)) ATTRIBUTE_NORETURN;
void void
fatal(s) fatal(s)
...@@ -1441,7 +1441,7 @@ read_tfile __proto((void)) ...@@ -1441,7 +1441,7 @@ read_tfile __proto((void))
extern int main PROTO ((int, char **)); extern int main PARAMS ((int, char **));
int int
main (argc, argv) main (argc, argv)
......
...@@ -637,8 +637,8 @@ extern void pfatal_with_name ...@@ -637,8 +637,8 @@ extern void pfatal_with_name
extern void fancy_abort __proto((void)) ATTRIBUTE_NORETURN; extern void fancy_abort __proto((void)) ATTRIBUTE_NORETURN;
void botch __proto((const char *)) ATTRIBUTE_NORETURN; void botch __proto((const char *)) ATTRIBUTE_NORETURN;
extern void fatal PVPROTO((const char *format, ...)) ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN; extern void fatal PARAMS ((const char *format, ...)) ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN;
extern void error PVPROTO((const char *format, ...)) ATTRIBUTE_PRINTF_1; extern void error PARAMS ((const char *format, ...)) ATTRIBUTE_PRINTF_1;
#ifndef MIPS_DEBUGGING_INFO #ifndef MIPS_DEBUGGING_INFO
...@@ -4801,7 +4801,7 @@ copy_object __proto((void)) ...@@ -4801,7 +4801,7 @@ copy_object __proto((void))
/* Ye olde main program. */ /* Ye olde main program. */
extern int main PROTO ((int, char **)); extern int main PARAMS ((int, char **));
int int
main (argc, argv) main (argc, argv)
...@@ -5554,7 +5554,7 @@ free_thead (ptr) ...@@ -5554,7 +5554,7 @@ free_thead (ptr)
/*VARARGS*/ /*VARARGS*/
void void
fatal VPROTO((const char *format, ...)) fatal VPARAMS ((const char *format, ...))
{ {
#ifndef ANSI_PROTOTYPES #ifndef ANSI_PROTOTYPES
const char *format; const char *format;
...@@ -5584,7 +5584,7 @@ fatal VPROTO((const char *format, ...)) ...@@ -5584,7 +5584,7 @@ fatal VPROTO((const char *format, ...))
/*VARARGS*/ /*VARARGS*/
void void
error VPROTO((const char *format, ...)) error VPARAMS ((const char *format, ...))
{ {
#ifndef ANSI_PROTOTYPES #ifndef ANSI_PROTOTYPES
char *format; char *format;
......
...@@ -83,32 +83,32 @@ enum insn_code setcc_gen_code[NUM_RTX_CODE]; ...@@ -83,32 +83,32 @@ enum insn_code setcc_gen_code[NUM_RTX_CODE];
enum insn_code movcc_gen_code[NUM_MACHINE_MODES]; enum insn_code movcc_gen_code[NUM_MACHINE_MODES];
#endif #endif
static int add_equal_note PROTO((rtx, rtx, enum rtx_code, rtx, rtx)); static int add_equal_note PARAMS ((rtx, rtx, enum rtx_code, rtx, rtx));
static rtx widen_operand PROTO((rtx, enum machine_mode, static rtx widen_operand PARAMS ((rtx, enum machine_mode,
enum machine_mode, int, int)); enum machine_mode, int, int));
static int expand_cmplxdiv_straight PROTO((rtx, rtx, rtx, rtx, static int expand_cmplxdiv_straight PARAMS ((rtx, rtx, rtx, rtx,
rtx, rtx, enum machine_mode, rtx, rtx, enum machine_mode,
int, enum optab_methods, int, enum optab_methods,
enum mode_class, optab)); enum mode_class, optab));
static int expand_cmplxdiv_wide PROTO((rtx, rtx, rtx, rtx, static int expand_cmplxdiv_wide PARAMS ((rtx, rtx, rtx, rtx,
rtx, rtx, enum machine_mode, rtx, rtx, enum machine_mode,
int, enum optab_methods, int, enum optab_methods,
enum mode_class, optab)); enum mode_class, optab));
static enum insn_code can_fix_p PROTO((enum machine_mode, enum machine_mode, static enum insn_code can_fix_p PARAMS ((enum machine_mode, enum machine_mode,
int, int *)); int, int *));
static enum insn_code can_float_p PROTO((enum machine_mode, enum machine_mode, static enum insn_code can_float_p PARAMS ((enum machine_mode, enum machine_mode,
int)); int));
static rtx ftruncify PROTO((rtx)); static rtx ftruncify PARAMS ((rtx));
static optab init_optab PROTO((enum rtx_code)); static optab init_optab PARAMS ((enum rtx_code));
static void init_libfuncs PROTO((optab, int, int, const char *, int)); static void init_libfuncs PARAMS ((optab, int, int, const char *, int));
static void init_integral_libfuncs PROTO((optab, const char *, int)); static void init_integral_libfuncs PARAMS ((optab, const char *, int));
static void init_floating_libfuncs PROTO((optab, const char *, int)); static void init_floating_libfuncs PARAMS ((optab, const char *, int));
#ifdef HAVE_conditional_trap #ifdef HAVE_conditional_trap
static void init_traps PROTO((void)); static void init_traps PARAMS ((void));
#endif #endif
static void emit_cmp_and_jump_insn_1 PROTO((rtx, rtx, enum machine_mode, static void emit_cmp_and_jump_insn_1 PARAMS ((rtx, rtx, enum machine_mode,
enum rtx_code, int, rtx)); enum rtx_code, int, rtx));
static void prepare_float_lib_cmp PROTO((rtx *, rtx *, enum rtx_code *, static void prepare_float_lib_cmp PARAMS ((rtx *, rtx *, enum rtx_code *,
enum machine_mode *, int *)); enum machine_mode *, int *));
/* Add a REG_EQUAL note to the last insn in SEQ. TARGET is being set to /* Add a REG_EQUAL note to the last insn in SEQ. TARGET is being set to
......
...@@ -73,12 +73,12 @@ Boston, MA 02111-1307, USA. */ ...@@ -73,12 +73,12 @@ Boston, MA 02111-1307, USA. */
static const char *std_prefix = PREFIX; static const char *std_prefix = PREFIX;
static const char *get_key_value PROTO((char *)); static const char *get_key_value PARAMS ((char *));
static const char *translate_name PROTO((const char *)); static const char *translate_name PARAMS ((const char *));
static char *save_string PROTO((const char *, int)); static char *save_string PARAMS ((const char *, int));
#if defined(_WIN32) && defined(ENABLE_WIN32_REGISTRY) #if defined(_WIN32) && defined(ENABLE_WIN32_REGISTRY)
static char *lookup_key PROTO((char *)); static char *lookup_key PARAMS ((char *));
static HKEY reg_key = (HKEY) INVALID_HANDLE_VALUE; static HKEY reg_key = (HKEY) INVALID_HANDLE_VALUE;
#endif #endif
...@@ -112,7 +112,7 @@ get_key_value (key) ...@@ -112,7 +112,7 @@ get_key_value (key)
This function is based on the one in libiberty. */ This function is based on the one in libiberty. */
char * char *
concat VPROTO((const char *first, ...)) concat VPARAMS ((const char *first, ...))
{ {
register int length; register int length;
register char *newstr; register char *newstr;
......
...@@ -150,16 +150,16 @@ static int total_num_never_executed; ...@@ -150,16 +150,16 @@ static int total_num_never_executed;
static int total_num_branches; static int total_num_branches;
/* Forward declarations. */ /* Forward declarations. */
static void init_arc PROTO((struct adj_list *, int, int, rtx)); static void init_arc PARAMS ((struct adj_list *, int, int, rtx));
static void find_spanning_tree PROTO((int)); static void find_spanning_tree PARAMS ((int));
static void expand_spanning_tree PROTO((int)); static void expand_spanning_tree PARAMS ((int));
static void fill_spanning_tree PROTO((int)); static void fill_spanning_tree PARAMS ((int));
static void init_arc_profiler PROTO((void)); static void init_arc_profiler PARAMS ((void));
static void output_arc_profiler PROTO((int, rtx)); static void output_arc_profiler PARAMS ((int, rtx));
static void instrument_arcs PROTO((rtx, int, FILE *)); static void instrument_arcs PARAMS ((rtx, int, FILE *));
static void output_gcov_string PROTO((const char *, long)); static void output_gcov_string PARAMS ((const char *, long));
static int tablejump_entry_p PROTO((rtx, rtx)); static int tablejump_entry_p PARAMS ((rtx, rtx));
static void compute_branch_probabilities PROTO((int, FILE *)); static void compute_branch_probabilities PARAMS ((int, FILE *));
#ifndef LONG_TYPE_SIZE #ifndef LONG_TYPE_SIZE
#define LONG_TYPE_SIZE BITS_PER_WORD #define LONG_TYPE_SIZE BITS_PER_WORD
......
...@@ -74,7 +74,7 @@ static int directory_specified_p PARAMS ((const char *)); ...@@ -74,7 +74,7 @@ static int directory_specified_p PARAMS ((const char *));
static int file_excluded_p PARAMS ((const char *)); static int file_excluded_p PARAMS ((const char *));
static char *unexpand_if_needed PARAMS ((const char *)); static char *unexpand_if_needed PARAMS ((const char *));
static char *abspath PARAMS ((const char *, const char *)); static char *abspath PARAMS ((const char *, const char *));
static int is_abspath PVPROTO ((const char *)); static int is_abspath PARAMS ((const char *));
static void check_aux_info PARAMS ((int)); static void check_aux_info PARAMS ((int));
static const char *find_corresponding_lparen PARAMS ((const char *)); static const char *find_corresponding_lparen PARAMS ((const char *));
static int referenced_file_is_newer PARAMS ((const char *, time_t)); static int referenced_file_is_newer PARAMS ((const char *, time_t));
......
...@@ -115,7 +115,7 @@ typedef struct { ...@@ -115,7 +115,7 @@ typedef struct {
#endif /* no TFmode support */ #endif /* no TFmode support */
#endif /* no XFmode support */ #endif /* no XFmode support */
extern int significand_size PROTO((enum machine_mode)); extern int significand_size PARAMS ((enum machine_mode));
/* If emulation has been enabled by defining REAL_ARITHMETIC or by /* If emulation has been enabled by defining REAL_ARITHMETIC or by
setting LONG_DOUBLE_TYPE_SIZE to 96 or 128, then define macros so that setting LONG_DOUBLE_TYPE_SIZE to 96 or 128, then define macros so that
...@@ -128,36 +128,36 @@ extern int significand_size PROTO((enum machine_mode)); ...@@ -128,36 +128,36 @@ extern int significand_size PROTO((enum machine_mode));
earith (&(value), (code), &(d1), &(d2)) earith (&(value), (code), &(d1), &(d2))
/* Declare functions in real.c. */ /* Declare functions in real.c. */
extern void earith PROTO((REAL_VALUE_TYPE *, int, extern void earith PARAMS ((REAL_VALUE_TYPE *, int,
REAL_VALUE_TYPE *, REAL_VALUE_TYPE *)); REAL_VALUE_TYPE *, REAL_VALUE_TYPE *));
extern REAL_VALUE_TYPE etrunci PROTO((REAL_VALUE_TYPE)); extern REAL_VALUE_TYPE etrunci PARAMS ((REAL_VALUE_TYPE));
extern REAL_VALUE_TYPE etruncui PROTO((REAL_VALUE_TYPE)); extern REAL_VALUE_TYPE etruncui PARAMS ((REAL_VALUE_TYPE));
extern REAL_VALUE_TYPE ereal_atof PROTO((const char *, enum machine_mode)); extern REAL_VALUE_TYPE ereal_atof PARAMS ((const char *, enum machine_mode));
extern REAL_VALUE_TYPE ereal_negate PROTO((REAL_VALUE_TYPE)); extern REAL_VALUE_TYPE ereal_negate PARAMS ((REAL_VALUE_TYPE));
extern HOST_WIDE_INT efixi PROTO((REAL_VALUE_TYPE)); extern HOST_WIDE_INT efixi PARAMS ((REAL_VALUE_TYPE));
extern unsigned HOST_WIDE_INT efixui PROTO((REAL_VALUE_TYPE)); extern unsigned HOST_WIDE_INT efixui PARAMS ((REAL_VALUE_TYPE));
extern void ereal_from_int PROTO((REAL_VALUE_TYPE *, extern void ereal_from_int PARAMS ((REAL_VALUE_TYPE *,
HOST_WIDE_INT, HOST_WIDE_INT, HOST_WIDE_INT, HOST_WIDE_INT,
enum machine_mode)); enum machine_mode));
extern void ereal_from_uint PROTO((REAL_VALUE_TYPE *, extern void ereal_from_uint PARAMS ((REAL_VALUE_TYPE *,
unsigned HOST_WIDE_INT, unsigned HOST_WIDE_INT,
unsigned HOST_WIDE_INT, unsigned HOST_WIDE_INT,
enum machine_mode)); enum machine_mode));
extern void ereal_to_int PROTO((HOST_WIDE_INT *, HOST_WIDE_INT *, extern void ereal_to_int PARAMS ((HOST_WIDE_INT *, HOST_WIDE_INT *,
REAL_VALUE_TYPE)); REAL_VALUE_TYPE));
extern REAL_VALUE_TYPE ereal_ldexp PROTO((REAL_VALUE_TYPE, int)); extern REAL_VALUE_TYPE ereal_ldexp PARAMS ((REAL_VALUE_TYPE, int));
extern void etartdouble PROTO((REAL_VALUE_TYPE, long *)); extern void etartdouble PARAMS ((REAL_VALUE_TYPE, long *));
extern void etarldouble PROTO((REAL_VALUE_TYPE, long *)); extern void etarldouble PARAMS ((REAL_VALUE_TYPE, long *));
extern void etardouble PROTO((REAL_VALUE_TYPE, long *)); extern void etardouble PARAMS ((REAL_VALUE_TYPE, long *));
extern long etarsingle PROTO((REAL_VALUE_TYPE)); extern long etarsingle PARAMS ((REAL_VALUE_TYPE));
extern void ereal_to_decimal PROTO((REAL_VALUE_TYPE, char *)); extern void ereal_to_decimal PARAMS ((REAL_VALUE_TYPE, char *));
extern int ereal_cmp PROTO((REAL_VALUE_TYPE, REAL_VALUE_TYPE)); extern int ereal_cmp PARAMS ((REAL_VALUE_TYPE, REAL_VALUE_TYPE));
extern int ereal_isneg PROTO((REAL_VALUE_TYPE)); extern int ereal_isneg PARAMS ((REAL_VALUE_TYPE));
extern REAL_VALUE_TYPE ereal_unto_float PROTO((long)); extern REAL_VALUE_TYPE ereal_unto_float PARAMS ((long));
extern REAL_VALUE_TYPE ereal_unto_double PROTO((long *)); extern REAL_VALUE_TYPE ereal_unto_double PARAMS ((long *));
extern REAL_VALUE_TYPE ereal_from_float PROTO((HOST_WIDE_INT)); extern REAL_VALUE_TYPE ereal_from_float PARAMS ((HOST_WIDE_INT));
extern REAL_VALUE_TYPE ereal_from_double PROTO((HOST_WIDE_INT *)); extern REAL_VALUE_TYPE ereal_from_double PARAMS ((HOST_WIDE_INT *));
#define REAL_VALUES_EQUAL(x, y) (ereal_cmp ((x), (y)) == 0) #define REAL_VALUES_EQUAL(x, y) (ereal_cmp ((x), (y)) == 0)
/* true if x < y : */ /* true if x < y : */
...@@ -167,7 +167,7 @@ extern REAL_VALUE_TYPE ereal_from_double PROTO((HOST_WIDE_INT *)); ...@@ -167,7 +167,7 @@ extern REAL_VALUE_TYPE ereal_from_double PROTO((HOST_WIDE_INT *));
/* These return REAL_VALUE_TYPE: */ /* These return REAL_VALUE_TYPE: */
#define REAL_VALUE_RNDZINT(x) (etrunci (x)) #define REAL_VALUE_RNDZINT(x) (etrunci (x))
#define REAL_VALUE_UNSIGNED_RNDZINT(x) (etruncui (x)) #define REAL_VALUE_UNSIGNED_RNDZINT(x) (etruncui (x))
extern REAL_VALUE_TYPE real_value_truncate PROTO ((enum machine_mode, extern REAL_VALUE_TYPE real_value_truncate PARAMS ((enum machine_mode,
REAL_VALUE_TYPE)); REAL_VALUE_TYPE));
#define REAL_VALUE_TRUNCATE(mode, x) real_value_truncate (mode, x) #define REAL_VALUE_TRUNCATE(mode, x) real_value_truncate (mode, x)
...@@ -357,7 +357,7 @@ extern double ldexp (); ...@@ -357,7 +357,7 @@ extern double ldexp ();
#ifndef REAL_VALUE_ATOF #ifndef REAL_VALUE_ATOF
#if 1 #if 1
/* Use real.c to convert decimal numbers to binary, ... */ /* Use real.c to convert decimal numbers to binary, ... */
extern REAL_VALUE_TYPE ereal_atof PROTO((const char *, enum machine_mode)); extern REAL_VALUE_TYPE ereal_atof PARAMS ((const char *, enum machine_mode));
#define REAL_VALUE_ATOF(x, s) ereal_atof (x, s) #define REAL_VALUE_ATOF(x, s) ereal_atof (x, s)
/* Could use ereal_atof here for hexadecimal floats too, but real_hex_to_f /* Could use ereal_atof here for hexadecimal floats too, but real_hex_to_f
is OK and it uses faster native fp arithmetic. */ is OK and it uses faster native fp arithmetic. */
...@@ -379,7 +379,7 @@ extern double (atof) (); ...@@ -379,7 +379,7 @@ extern double (atof) ();
/* Hexadecimal floating constant input for use with host computer's /* Hexadecimal floating constant input for use with host computer's
fp arithmetic. */ fp arithmetic. */
#ifndef REAL_VALUE_HTOF #ifndef REAL_VALUE_HTOF
extern REAL_VALUE_TYPE real_hex_to_f PROTO((char *, enum machine_mode)); extern REAL_VALUE_TYPE real_hex_to_f PARAMS ((char *, enum machine_mode));
#define REAL_VALUE_HTOF(s,m) real_hex_to_f(s,m) #define REAL_VALUE_HTOF(s,m) real_hex_to_f(s,m)
#endif #endif
...@@ -393,7 +393,7 @@ extern REAL_VALUE_TYPE real_hex_to_f PROTO((char *, enum machine_mode)); ...@@ -393,7 +393,7 @@ extern REAL_VALUE_TYPE real_hex_to_f PROTO((char *, enum machine_mode));
size and where `float' is SFmode. */ size and where `float' is SFmode. */
/* Don't use REAL_VALUE_TRUNCATE directly--always call real_value_truncate. */ /* Don't use REAL_VALUE_TRUNCATE directly--always call real_value_truncate. */
extern REAL_VALUE_TYPE real_value_truncate PROTO((enum machine_mode, extern REAL_VALUE_TYPE real_value_truncate PARAMS ((enum machine_mode,
REAL_VALUE_TYPE)); REAL_VALUE_TYPE));
#ifndef REAL_VALUE_TRUNCATE #ifndef REAL_VALUE_TRUNCATE
...@@ -417,9 +417,9 @@ extern REAL_VALUE_TYPE real_value_truncate PROTO((enum machine_mode, ...@@ -417,9 +417,9 @@ extern REAL_VALUE_TYPE real_value_truncate PROTO((enum machine_mode,
#define REAL_VALUE_NEGATIVE(x) (target_negative (x)) #define REAL_VALUE_NEGATIVE(x) (target_negative (x))
#endif #endif
extern int target_isnan PROTO((REAL_VALUE_TYPE)); extern int target_isnan PARAMS ((REAL_VALUE_TYPE));
extern int target_isinf PROTO((REAL_VALUE_TYPE)); extern int target_isinf PARAMS ((REAL_VALUE_TYPE));
extern int target_negative PROTO((REAL_VALUE_TYPE)); extern int target_negative PARAMS ((REAL_VALUE_TYPE));
/* Determine whether a floating-point value X is minus 0. */ /* Determine whether a floating-point value X is minus 0. */
#ifndef REAL_VALUE_MINUS_ZERO #ifndef REAL_VALUE_MINUS_ZERO
...@@ -463,7 +463,7 @@ union real_extract ...@@ -463,7 +463,7 @@ union real_extract
/* Function to return a real value (not a tree node) /* Function to return a real value (not a tree node)
from a given integer constant. */ from a given integer constant. */
union tree_node; union tree_node;
REAL_VALUE_TYPE real_value_from_int_cst PROTO ((union tree_node *, REAL_VALUE_TYPE real_value_from_int_cst PARAMS ((union tree_node *,
union tree_node *)); union tree_node *));
#define REAL_VALUE_FROM_CONST_DOUBLE(to, from) \ #define REAL_VALUE_FROM_CONST_DOUBLE(to, from) \
...@@ -474,7 +474,7 @@ do { union real_extract u; \ ...@@ -474,7 +474,7 @@ do { union real_extract u; \
/* Return a CONST_DOUBLE with value R and mode M. */ /* Return a CONST_DOUBLE with value R and mode M. */
#define CONST_DOUBLE_FROM_REAL_VALUE(r, m) immed_real_const_1 (r, m) #define CONST_DOUBLE_FROM_REAL_VALUE(r, m) immed_real_const_1 (r, m)
extern struct rtx_def *immed_real_const_1 PROTO((REAL_VALUE_TYPE, extern struct rtx_def *immed_real_const_1 PARAMS ((REAL_VALUE_TYPE,
enum machine_mode)); enum machine_mode));
...@@ -486,18 +486,18 @@ extern struct rtx_def *immed_real_const_1 PROTO((REAL_VALUE_TYPE, ...@@ -486,18 +486,18 @@ extern struct rtx_def *immed_real_const_1 PROTO((REAL_VALUE_TYPE,
#endif #endif
/* Replace R by 1/R in the given machine mode, if the result is exact. */ /* Replace R by 1/R in the given machine mode, if the result is exact. */
extern int exact_real_inverse PROTO((enum machine_mode, REAL_VALUE_TYPE *)); extern int exact_real_inverse PARAMS ((enum machine_mode, REAL_VALUE_TYPE *));
extern int target_isnan PROTO((REAL_VALUE_TYPE)); extern int target_isnan PARAMS ((REAL_VALUE_TYPE));
extern int target_isinf PROTO((REAL_VALUE_TYPE)); extern int target_isinf PARAMS ((REAL_VALUE_TYPE));
extern int target_negative PROTO((REAL_VALUE_TYPE)); extern int target_negative PARAMS ((REAL_VALUE_TYPE));
extern void debug_real PROTO((REAL_VALUE_TYPE)); extern void debug_real PARAMS ((REAL_VALUE_TYPE));
/* In varasm.c */ /* In varasm.c */
extern void assemble_real PROTO((REAL_VALUE_TYPE, extern void assemble_real PARAMS ((REAL_VALUE_TYPE,
enum machine_mode)); enum machine_mode));
extern void debug_real PROTO((REAL_VALUE_TYPE)); extern void debug_real PARAMS ((REAL_VALUE_TYPE));
/* In varasm.c */ /* In varasm.c */
extern void assemble_real PROTO((REAL_VALUE_TYPE, extern void assemble_real PARAMS ((REAL_VALUE_TYPE,
enum machine_mode)); enum machine_mode));
#endif /* Not REAL_H_INCLUDED */ #endif /* Not REAL_H_INCLUDED */
...@@ -54,10 +54,10 @@ Boston, MA 02111-1307, USA. */ ...@@ -54,10 +54,10 @@ Boston, MA 02111-1307, USA. */
#endif #endif
#endif #endif
static void validate_replace_rtx_1 PROTO((rtx *, rtx, rtx, rtx)); static void validate_replace_rtx_1 PARAMS ((rtx *, rtx, rtx, rtx));
static rtx *find_single_use_1 PROTO((rtx, rtx *)); static rtx *find_single_use_1 PARAMS ((rtx, rtx *));
static rtx *find_constant_term_loc PROTO((rtx *)); static rtx *find_constant_term_loc PARAMS ((rtx *));
static int insn_invalid_p PROTO((rtx)); static int insn_invalid_p PARAMS ((rtx));
/* Nonzero means allow operands to be volatile. /* Nonzero means allow operands to be volatile.
This should be 0 if you are generating rtl, such as if you are calling This should be 0 if you are generating rtl, such as if you are calling
...@@ -1846,7 +1846,7 @@ offsettable_address_p (strictp, mode, y) ...@@ -1846,7 +1846,7 @@ offsettable_address_p (strictp, mode, y)
register rtx z; register rtx z;
rtx y1 = y; rtx y1 = y;
rtx *y2; rtx *y2;
int (*addressp) PROTO ((enum machine_mode, rtx)) = int (*addressp) PARAMS ((enum machine_mode, rtx)) =
(strictp ? strict_memory_address_p : memory_address_p); (strictp ? strict_memory_address_p : memory_address_p);
if (CONSTANT_ADDRESS_P (y)) if (CONSTANT_ADDRESS_P (y))
......
...@@ -66,58 +66,58 @@ struct operand_alternative ...@@ -66,58 +66,58 @@ struct operand_alternative
}; };
extern void init_recog PROTO((void)); extern void init_recog PARAMS ((void));
extern void init_recog_no_volatile PROTO((void)); extern void init_recog_no_volatile PARAMS ((void));
extern int recog_memoized PROTO((rtx)); extern int recog_memoized PARAMS ((rtx));
extern int check_asm_operands PROTO((rtx)); extern int check_asm_operands PARAMS ((rtx));
extern int asm_operand_ok PROTO((rtx, const char *)); extern int asm_operand_ok PARAMS ((rtx, const char *));
extern int validate_change PROTO((rtx, rtx *, rtx, int)); extern int validate_change PARAMS ((rtx, rtx *, rtx, int));
extern int apply_change_group PROTO((void)); extern int apply_change_group PARAMS ((void));
extern int num_validated_changes PROTO((void)); extern int num_validated_changes PARAMS ((void));
extern void cancel_changes PROTO((int)); extern void cancel_changes PARAMS ((int));
extern int constrain_operands PROTO((int)); extern int constrain_operands PARAMS ((int));
extern int memory_address_p PROTO((enum machine_mode, rtx)); extern int memory_address_p PARAMS ((enum machine_mode, rtx));
extern int strict_memory_address_p PROTO((enum machine_mode, rtx)); extern int strict_memory_address_p PARAMS ((enum machine_mode, rtx));
extern int validate_replace_rtx PROTO((rtx, rtx, rtx)); extern int validate_replace_rtx PARAMS ((rtx, rtx, rtx));
extern void validate_replace_rtx_group PROTO((rtx, rtx, rtx)); extern void validate_replace_rtx_group PARAMS ((rtx, rtx, rtx));
extern int validate_replace_src PROTO((rtx, rtx, rtx)); extern int validate_replace_src PARAMS ((rtx, rtx, rtx));
#ifdef HAVE_cc0 #ifdef HAVE_cc0
extern int next_insn_tests_no_inequality PROTO ((rtx)); extern int next_insn_tests_no_inequality PARAMS ((rtx));
#endif #endif
extern int reg_fits_class_p PROTO((rtx, enum reg_class, int, extern int reg_fits_class_p PARAMS ((rtx, enum reg_class, int,
enum machine_mode)); enum machine_mode));
extern rtx *find_single_use PROTO((rtx, rtx, rtx *)); extern rtx *find_single_use PARAMS ((rtx, rtx, rtx *));
extern int general_operand PROTO((rtx, enum machine_mode)); extern int general_operand PARAMS ((rtx, enum machine_mode));
extern int address_operand PROTO((rtx, enum machine_mode)); extern int address_operand PARAMS ((rtx, enum machine_mode));
extern int register_operand PROTO((rtx, enum machine_mode)); extern int register_operand PARAMS ((rtx, enum machine_mode));
extern int pmode_register_operand PROTO((rtx, enum machine_mode)); extern int pmode_register_operand PARAMS ((rtx, enum machine_mode));
extern int scratch_operand PROTO((rtx, enum machine_mode)); extern int scratch_operand PARAMS ((rtx, enum machine_mode));
extern int immediate_operand PROTO((rtx, enum machine_mode)); extern int immediate_operand PARAMS ((rtx, enum machine_mode));
extern int const_int_operand PROTO((rtx, enum machine_mode)); extern int const_int_operand PARAMS ((rtx, enum machine_mode));
extern int const_double_operand PROTO((rtx, enum machine_mode)); extern int const_double_operand PARAMS ((rtx, enum machine_mode));
extern int nonimmediate_operand PROTO((rtx, enum machine_mode)); extern int nonimmediate_operand PARAMS ((rtx, enum machine_mode));
extern int nonmemory_operand PROTO((rtx, enum machine_mode)); extern int nonmemory_operand PARAMS ((rtx, enum machine_mode));
extern int push_operand PROTO((rtx, enum machine_mode)); extern int push_operand PARAMS ((rtx, enum machine_mode));
extern int pop_operand PROTO((rtx, enum machine_mode)); extern int pop_operand PARAMS ((rtx, enum machine_mode));
extern int memory_operand PROTO((rtx, enum machine_mode)); extern int memory_operand PARAMS ((rtx, enum machine_mode));
extern int indirect_operand PROTO((rtx, enum machine_mode)); extern int indirect_operand PARAMS ((rtx, enum machine_mode));
extern int mode_independent_operand PROTO((rtx, enum machine_mode)); extern int mode_independent_operand PARAMS ((rtx, enum machine_mode));
extern int comparison_operator PROTO((rtx, enum machine_mode)); extern int comparison_operator PARAMS ((rtx, enum machine_mode));
extern int offsettable_memref_p PROTO((rtx)); extern int offsettable_memref_p PARAMS ((rtx));
extern int offsettable_nonstrict_memref_p PROTO((rtx)); extern int offsettable_nonstrict_memref_p PARAMS ((rtx));
extern int offsettable_address_p PROTO((int, enum machine_mode, rtx)); extern int offsettable_address_p PARAMS ((int, enum machine_mode, rtx));
extern int mode_dependent_address_p PROTO((rtx)); extern int mode_dependent_address_p PARAMS ((rtx));
extern int recog PROTO((rtx, rtx, int *)); extern int recog PARAMS ((rtx, rtx, int *));
extern void add_clobbers PROTO((rtx, int)); extern void add_clobbers PARAMS ((rtx, int));
extern void insn_extract PROTO((rtx)); extern void insn_extract PARAMS ((rtx));
extern void extract_insn PROTO((rtx)); extern void extract_insn PARAMS ((rtx));
extern void preprocess_constraints PROTO((void)); extern void preprocess_constraints PARAMS ((void));
extern rtx recog_next_insn PROTO((rtx, int)); extern rtx recog_next_insn PARAMS ((rtx, int));
extern void peephole2_optimize PROTO((FILE *)); extern void peephole2_optimize PARAMS ((FILE *));
extern rtx peephole2_insns PROTO((rtx, rtx, rtx *)); extern rtx peephole2_insns PARAMS ((rtx, rtx, rtx *));
/* Nonzero means volatile operands are recognized. */ /* Nonzero means volatile operands are recognized. */
extern int volatile_ok; extern int volatile_ok;
...@@ -192,10 +192,10 @@ extern struct operand_alternative recog_op_alt[MAX_RECOG_OPERANDS][MAX_RECOG_ALT ...@@ -192,10 +192,10 @@ extern struct operand_alternative recog_op_alt[MAX_RECOG_OPERANDS][MAX_RECOG_ALT
/* A table defined in insn-output.c that give information about /* A table defined in insn-output.c that give information about
each insn-code value. */ each insn-code value. */
typedef int (*insn_operand_predicate_fn) PROTO ((rtx, enum machine_mode)); typedef int (*insn_operand_predicate_fn) PARAMS ((rtx, enum machine_mode));
typedef const char * (*insn_output_fn) PROTO ((rtx *, rtx)); typedef const char * (*insn_output_fn) PARAMS ((rtx *, rtx));
#ifndef NO_MD_PROTOTYPES #ifndef NO_MD_PROTOTYPES
typedef rtx (*insn_gen_fn) PROTO ((rtx, ...)); typedef rtx (*insn_gen_fn) PARAMS ((rtx, ...));
#else #else
typedef rtx (*insn_gen_fn) (); typedef rtx (*insn_gen_fn) ();
#endif #endif
......
...@@ -44,8 +44,8 @@ Boston, MA 02111-1307, USA. */ ...@@ -44,8 +44,8 @@ Boston, MA 02111-1307, USA. */
#define REGISTER_MOVE_COST(x, y) 2 #define REGISTER_MOVE_COST(x, y) 2
#endif #endif
static void init_reg_sets_1 PROTO((void)); static void init_reg_sets_1 PARAMS ((void));
static void init_reg_modes PROTO((void)); static void init_reg_modes PARAMS ((void));
/* If we have auto-increment or auto-decrement and we can have secondary /* If we have auto-increment or auto-decrement and we can have secondary
reloads, we are not allowed to use classes requiring secondary reloads, we are not allowed to use classes requiring secondary
...@@ -717,19 +717,19 @@ static struct reg_pref *reg_pref_buffer; ...@@ -717,19 +717,19 @@ static struct reg_pref *reg_pref_buffer;
static int loop_cost; static int loop_cost;
static rtx scan_one_insn PROTO((rtx, int)); static rtx scan_one_insn PARAMS ((rtx, int));
static void record_operand_costs PROTO((rtx, struct costs *, struct reg_pref *)); static void record_operand_costs PARAMS ((rtx, struct costs *, struct reg_pref *));
static void dump_regclass PROTO((FILE *)); static void dump_regclass PARAMS ((FILE *));
static void record_reg_classes PROTO((int, int, rtx *, enum machine_mode *, static void record_reg_classes PARAMS ((int, int, rtx *, enum machine_mode *,
char *, const char **, rtx, char *, const char **, rtx,
struct costs *, struct reg_pref *)); struct costs *, struct reg_pref *));
static int copy_cost PROTO((rtx, enum machine_mode, static int copy_cost PARAMS ((rtx, enum machine_mode,
enum reg_class, int)); enum reg_class, int));
static void record_address_regs PROTO((rtx, enum reg_class, int)); static void record_address_regs PARAMS ((rtx, enum reg_class, int));
#ifdef FORBIDDEN_INC_DEC_CLASSES #ifdef FORBIDDEN_INC_DEC_CLASSES
static int auto_inc_dec_reg_p PROTO((rtx, enum machine_mode)); static int auto_inc_dec_reg_p PARAMS ((rtx, enum machine_mode));
#endif #endif
static void reg_scan_mark_refs PROTO((rtx, rtx, int, int)); static void reg_scan_mark_refs PARAMS ((rtx, rtx, int, int));
/* Return the reg_class in which pseudo reg number REGNO is best allocated. /* Return the reg_class in which pseudo reg number REGNO is best allocated.
This function is sometimes called before the info has been computed. This function is sometimes called before the info has been computed.
......
...@@ -41,11 +41,11 @@ Boston, MA 02111-1307, USA. */ ...@@ -41,11 +41,11 @@ Boston, MA 02111-1307, USA. */
#include "basic-block.h" #include "basic-block.h"
#include "toplev.h" #include "toplev.h"
static int optimize_reg_copy_1 PROTO((rtx, rtx, rtx)); static int optimize_reg_copy_1 PARAMS ((rtx, rtx, rtx));
static void optimize_reg_copy_2 PROTO((rtx, rtx, rtx)); static void optimize_reg_copy_2 PARAMS ((rtx, rtx, rtx));
static void optimize_reg_copy_3 PROTO((rtx, rtx, rtx)); static void optimize_reg_copy_3 PARAMS ((rtx, rtx, rtx));
static rtx gen_add3_insn PROTO((rtx, rtx, rtx)); static rtx gen_add3_insn PARAMS ((rtx, rtx, rtx));
static void copy_src_to_dest PROTO((rtx, rtx, rtx, int)); static void copy_src_to_dest PARAMS ((rtx, rtx, rtx, int));
static int *regmove_bb_head; static int *regmove_bb_head;
struct match { struct match {
...@@ -55,19 +55,19 @@ struct match { ...@@ -55,19 +55,19 @@ struct match {
int early_clobber[MAX_RECOG_OPERANDS]; int early_clobber[MAX_RECOG_OPERANDS];
}; };
static rtx discover_flags_reg PROTO((void)); static rtx discover_flags_reg PARAMS ((void));
static void mark_flags_life_zones PROTO((rtx)); static void mark_flags_life_zones PARAMS ((rtx));
static void flags_set_1 PROTO((rtx, rtx, void *)); static void flags_set_1 PARAMS ((rtx, rtx, void *));
static int try_auto_increment PROTO((rtx, rtx, rtx, rtx, HOST_WIDE_INT, int)); static int try_auto_increment PARAMS ((rtx, rtx, rtx, rtx, HOST_WIDE_INT, int));
static int find_matches PROTO((rtx, struct match *)); static int find_matches PARAMS ((rtx, struct match *));
static int fixup_match_1 PROTO((rtx, rtx, rtx, rtx, rtx, int, int, int, FILE *)) static int fixup_match_1 PARAMS ((rtx, rtx, rtx, rtx, rtx, int, int, int, FILE *))
; ;
static int reg_is_remote_constant_p PROTO((rtx, rtx, rtx)); static int reg_is_remote_constant_p PARAMS ((rtx, rtx, rtx));
static int stable_and_no_regs_but_for_p PROTO((rtx, rtx, rtx)); static int stable_and_no_regs_but_for_p PARAMS ((rtx, rtx, rtx));
static int regclass_compatible_p PROTO((int, int)); static int regclass_compatible_p PARAMS ((int, int));
static int replacement_quality PROTO((rtx)); static int replacement_quality PARAMS ((rtx));
static int fixup_match_2 PROTO((rtx, rtx, rtx, rtx, FILE *)); static int fixup_match_2 PARAMS ((rtx, rtx, rtx, rtx, FILE *));
/* Return non-zero if registers with CLASS1 and CLASS2 can be merged without /* Return non-zero if registers with CLASS1 and CLASS2 can be merged without
causing too much register allocation problems. */ causing too much register allocation problems. */
......
...@@ -202,4 +202,4 @@ extern int caller_save_needed; ...@@ -202,4 +202,4 @@ extern int caller_save_needed;
#endif #endif
/* Allocate reg_n_info tables */ /* Allocate reg_n_info tables */
extern void allocate_reg_info PROTO((size_t, int, int)); extern void allocate_reg_info PARAMS ((size_t, int, int));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment