diff options
author | Stan Cox <scox@redhat.com> | 2003-08-08 11:30:25 +0000 |
---|---|---|
committer | Stan Cox <scox@gcc.gnu.org> | 2003-08-08 11:30:25 +0000 |
commit | 6b3d1e471a4de2a93320d1fc14549b4a49223b9d (patch) | |
tree | 7efbd7dd1513de51a841ff21faa6fd8a37df8522 /gcc/config/iq2000/iq2000-protos.h | |
parent | 3e083bea6c6985eed25a60e506e7af28548f39ec (diff) | |
download | gcc-6b3d1e471a4de2a93320d1fc14549b4a49223b9d.zip gcc-6b3d1e471a4de2a93320d1fc14549b4a49223b9d.tar.gz gcc-6b3d1e471a4de2a93320d1fc14549b4a49223b9d.tar.bz2 |
iq2000: New port.
* config/iq2000: New port.
* config.gcc (iq2000-*-elf): Added.
* doc/install.texi (Specific): Add iq2000 description.
From-SVN: r70245
Diffstat (limited to 'gcc/config/iq2000/iq2000-protos.h')
-rw-r--r-- | gcc/config/iq2000/iq2000-protos.h | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/gcc/config/iq2000/iq2000-protos.h b/gcc/config/iq2000/iq2000-protos.h new file mode 100644 index 0000000..6a28074 --- /dev/null +++ b/gcc/config/iq2000/iq2000-protos.h @@ -0,0 +1,64 @@ +/* Definitions of target machine for GNU compiler for iq2000. + Copyright (C) 2003 Free Software Foundation, Inc. + + This file is part of GNU CC. + + GNU CC 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) + any later version. + + GNU CC 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. */ + +#ifndef GCC_IQ2000_PROTOS_H +#define GCC_IQ2000_PROTOS_H + +extern int iq2000_check_split PARAMS ((rtx, enum machine_mode)); +extern int iq2000_reg_mode_ok_for_base_p PARAMS ((rtx, enum machine_mode, int)); +extern int iq2000_legitimate_address_p PARAMS ((enum machine_mode, rtx, int)); +extern const char* iq2000_fill_delay_slot PARAMS ((const char*, enum delay_type, rtx*, rtx)); +extern const char *iq2000_move_1word PARAMS ((rtx *, rtx, int)); +extern int iq2000_address_cost PARAMS ((rtx)); +extern void override_options PARAMS ((void)); +extern HOST_WIDE_INT iq2000_debugger_offset PARAMS ((rtx, HOST_WIDE_INT)); +extern void final_prescan_insn PARAMS ((rtx, rtx*, int)); +extern HOST_WIDE_INT compute_frame_size PARAMS ((HOST_WIDE_INT)); +extern int iq2000_initial_elimination_offset (int, int); +extern void iq2000_expand_prologue PARAMS ((void)); +extern void iq2000_expand_epilogue PARAMS ((void)); +extern void iq2000_expand_eh_return PARAMS ((rtx)); +extern int iq2000_can_use_return_insn PARAMS ((void)); +int function_arg_pass_by_reference PARAMS ((CUMULATIVE_ARGS*, enum machine_mode, tree, int)); +int iq2000_adjust_insn_length PARAMS ((rtx, int)); +char *iq2000_output_conditional_branch PARAMS ((rtx, rtx*, int, int, int, int)); +extern void iq2000_init_builtins PARAMS ((void)); +extern void iq2000_setup_incoming_varargs PARAMS ((CUMULATIVE_ARGS, int, tree, int*, int)); +extern void print_operand_address PARAMS ((FILE*, rtx)); +extern void print_operand PARAMS ((FILE*, rtx, int)); + +#ifdef RTX_CODE +extern rtx gen_int_relational PARAMS ((enum rtx_code, rtx, rtx, rtx, int*)); +extern void gen_conditional_branch PARAMS ((rtx *, enum rtx_code)); +#endif + +#ifdef TREE_CODE +extern void init_cumulative_args PARAMS ((CUMULATIVE_ARGS*, tree, rtx)); +extern void function_arg_advance PARAMS ((CUMULATIVE_ARGS*, enum machine_mode, tree, int)); +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 void iq2000_va_start PARAMS ((tree, rtx)); +extern rtx iq2000_va_arg PARAMS ((tree, tree)); +extern rtx iq2000_function_value PARAMS ((tree, tree)); +extern rtx iq2000_expand_builtin PARAMS ((tree, rtx, rtx, + enum machine_mode, int)); +#endif + +#endif /* ! GCC_IQ2000_PROTOS_H */ |