X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Fconfig%2Farc%2Farc-protos.h;fp=gcc%2Fconfig%2Farc%2Farc-protos.h;h=c9fc51ad2ac5570b1c91c78a817bd41f58f8e5f6;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=fef052b942846d27d77f9723e1f2701e4a36b8e3;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/config/arc/arc-protos.h b/gcc/config/arc/arc-protos.h index fef052b9..c9fc51ad 100644 --- a/gcc/config/arc/arc-protos.h +++ b/gcc/config/arc/arc-protos.h @@ -1,79 +1,64 @@ /* Definitions of target machine for GNU compiler, Argonaut ARC cpu. - Copyright (C) 2000 Free Software Foundation, Inc. + Copyright (C) 2000, 2004, 2007 Free Software Foundation, Inc. -This file is part of GNU CC. +This file is part of GCC. -GNU CC is free software; you can redistribute it and/or modify +GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) +the Free Software Foundation; either version 3, or (at your option) any later version. -GNU CC is distributed in the hope that it will be useful, +GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -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. */ +along with GCC; see the file COPYING3. If not see +. */ #ifdef RTX_CODE -#ifdef TREE_CODE -extern void arc_va_start PARAMS ((int, tree, rtx)); -extern rtx arc_va_arg PARAMS ((tree, tree)); -#endif /* TREE_CODE */ - -extern enum machine_mode arc_select_cc_mode PARAMS ((enum rtx_code, rtx, rtx)); +extern enum machine_mode arc_select_cc_mode (enum rtx_code, rtx, rtx); /* 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); +#endif /* Declarations for various fns used in the .md file. */ -extern const char *output_shift PARAMS ((rtx *)); - -extern int symbolic_operand PARAMS ((rtx, enum machine_mode)); -extern int arc_double_limm_p PARAMS ((rtx)); -extern int arc_address_cost PARAMS ((rtx)); -extern int arc_eligible_for_epilogue_delay PARAMS ((rtx, int)); -extern void arc_initialize_trampoline PARAMS ((rtx, rtx, rtx)); -extern void arc_print_operand PARAMS ((FILE *, rtx, int)); -extern void arc_print_operand_address PARAMS ((FILE *, rtx)); -extern void arc_final_prescan_insn PARAMS ((rtx, rtx *, int)); -extern int call_address_operand PARAMS ((rtx, enum machine_mode)); -extern int call_operand PARAMS ((rtx, enum machine_mode)); -extern int symbolic_memory_operand PARAMS ((rtx, enum machine_mode)); -extern int short_immediate_operand PARAMS ((rtx, enum machine_mode)); -extern int long_immediate_operand PARAMS ((rtx, enum machine_mode)); -extern int long_immediate_loadstore_operand PARAMS ((rtx, enum machine_mode)); -extern int move_src_operand PARAMS ((rtx, enum machine_mode)); -extern int move_double_src_operand PARAMS ((rtx, enum machine_mode)); -extern int move_dest_operand PARAMS ((rtx, enum machine_mode)); -extern int load_update_operand PARAMS ((rtx, enum machine_mode)); -extern int store_update_operand PARAMS ((rtx, enum machine_mode)); -extern int nonvol_nonimm_operand PARAMS ((rtx, enum machine_mode)); -extern int const_sint32_operand PARAMS ((rtx, enum machine_mode)); -extern int const_uint32_operand PARAMS ((rtx, enum machine_mode)); -extern int proper_comparison_operator PARAMS ((rtx, enum machine_mode)); -extern int shift_operator PARAMS ((rtx, enum machine_mode)); -#endif /* RTX_CODE */ +extern const char *output_shift (rtx *); -#ifdef TREE_CODE -extern enum arc_function_type arc_compute_function_type PARAMS ((tree)); -extern void arc_setup_incoming_varargs PARAMS ((CUMULATIVE_ARGS *, - enum machine_mode, tree, - int *, int)); -#endif /* TREE_CODE */ +extern int symbolic_operand (rtx, enum machine_mode); +extern int arc_double_limm_p (rtx); +extern int arc_eligible_for_epilogue_delay (rtx, int); +extern void arc_initialize_trampoline (rtx, rtx, rtx); +extern void arc_print_operand (FILE *, rtx, int); +extern void arc_print_operand_address (FILE *, rtx); +extern void arc_final_prescan_insn (rtx, rtx *, int); +extern int call_address_operand (rtx, enum machine_mode); +extern int call_operand (rtx, enum machine_mode); +extern int symbolic_memory_operand (rtx, enum machine_mode); +extern int short_immediate_operand (rtx, enum machine_mode); +extern int long_immediate_operand (rtx, enum machine_mode); +extern int long_immediate_loadstore_operand (rtx, enum machine_mode); +extern int move_src_operand (rtx, enum machine_mode); +extern int move_double_src_operand (rtx, enum machine_mode); +extern int move_dest_operand (rtx, enum machine_mode); +extern int load_update_operand (rtx, enum machine_mode); +extern int store_update_operand (rtx, enum machine_mode); +extern int nonvol_nonimm_operand (rtx, enum machine_mode); +extern int const_sint32_operand (rtx, enum machine_mode); +extern int const_uint32_operand (rtx, enum machine_mode); +extern int proper_comparison_operator (rtx, enum machine_mode); +extern int shift_operator (rtx, enum machine_mode); +extern enum arc_function_type arc_compute_function_type (tree); -extern void arc_init PARAMS ((void)); -extern void arc_asm_file_start PARAMS ((FILE *)); -extern unsigned int arc_compute_frame_size PARAMS ((int)); -extern void arc_save_restore PARAMS ((FILE *, const char *, unsigned int, - unsigned int, const char *)); -extern int arc_delay_slots_for_epilogue PARAMS ((void)); -extern void arc_finalize_pic PARAMS ((void)); -extern void arc_ccfsm_at_label PARAMS ((const char *, int)); -extern int arc_ccfsm_branch_deleted_p PARAMS ((void)); -extern void arc_ccfsm_record_branch_deleted PARAMS ((void)); +extern void arc_init (void); +extern unsigned int arc_compute_frame_size (int); +extern void arc_save_restore (FILE *, const char *, unsigned int, + unsigned int, const char *); +extern int arc_delay_slots_for_epilogue (void); +extern void arc_ccfsm_at_label (const char *, int); +extern int arc_ccfsm_branch_deleted_p (void); +extern void arc_ccfsm_record_branch_deleted (void);