OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [config/] [score/] [score-protos.h] - Diff between revs 282 and 384

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 282 Rev 384
/* score-protos.h for Sunplus S+CORE processor
/* score-protos.h for Sunplus S+CORE processor
   Copyright (C) 2005, 2007, 2008 Free Software Foundation, Inc.
   Copyright (C) 2005, 2007, 2008 Free Software Foundation, Inc.
 
 
   This file is part of GCC.
   This file is part of GCC.
 
 
   GCC is free software; you can redistribute it and/or modify it
   GCC is free software; you can redistribute it and/or modify it
   under the terms of the GNU General Public License as published
   under the terms of the GNU General Public License as published
   by the Free Software Foundation; either version 3, or (at your
   by the Free Software Foundation; either version 3, or (at your
   option) any later version.
   option) any later version.
 
 
   GCC is distributed in the hope that it will be useful, but WITHOUT
   GCC is distributed in the hope that it will be useful, but WITHOUT
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
   License for more details.
   License for more details.
 
 
   You should have received a copy of the GNU General Public License
   You should have received a copy of the GNU General Public License
   along with GCC; see the file COPYING3.  If not see
   along with GCC; see the file COPYING3.  If not see
   <http://www.gnu.org/licenses/>.  */
   <http://www.gnu.org/licenses/>.  */
 
 
#ifndef GCC_SCORE_PROTOS_H
#ifndef GCC_SCORE_PROTOS_H
#define GCC_SCORE_PROTOS_H
#define GCC_SCORE_PROTOS_H
 
 
/* Machine Print.  */
/* Machine Print.  */
enum score_mem_unit {SCORE_BYTE = 0, SCORE_HWORD = 1, SCORE_WORD = 2};
enum score_mem_unit {SCORE_BYTE = 0, SCORE_HWORD = 1, SCORE_WORD = 2};
 
 
#define SCORE_ALIGN_UNIT(V, UNIT)   !(V & ((1 << UNIT) - 1))
#define SCORE_ALIGN_UNIT(V, UNIT)   !(V & ((1 << UNIT) - 1))
 
 
extern void score_prologue (void);
extern void score_prologue (void);
extern void score_epilogue (int sibcall_p);
extern void score_epilogue (int sibcall_p);
extern void score_call (rtx *ops, bool sib);
extern void score_call (rtx *ops, bool sib);
extern void score_call_value (rtx *ops, bool sib);
extern void score_call_value (rtx *ops, bool sib);
extern void score_movdi (rtx *ops);
extern void score_movdi (rtx *ops);
extern void score_zero_extract_andi (rtx *ops);
extern void score_zero_extract_andi (rtx *ops);
extern const char * score_linsn (rtx *ops, enum score_mem_unit unit, bool sign);
extern const char * score_linsn (rtx *ops, enum score_mem_unit unit, bool sign);
extern const char * score_sinsn (rtx *ops, enum score_mem_unit unit);
extern const char * score_sinsn (rtx *ops, enum score_mem_unit unit);
extern const char * score_limm (rtx *ops);
extern const char * score_limm (rtx *ops);
extern const char * score_move (rtx *ops);
extern const char * score_move (rtx *ops);
extern bool score_unaligned_load (rtx* ops);
extern bool score_unaligned_load (rtx* ops);
extern bool score_unaligned_store (rtx* ops);
extern bool score_unaligned_store (rtx* ops);
extern bool score_block_move (rtx* ops);
extern bool score_block_move (rtx* ops);
extern int score_address_cost (rtx addr, bool speed);
extern int score_address_cost (rtx addr, bool speed);
extern rtx score_function_arg (const CUMULATIVE_ARGS *cum,
extern rtx score_function_arg (const CUMULATIVE_ARGS *cum,
                               enum machine_mode mode,
                               enum machine_mode mode,
                               tree type, int named);
                               tree type, int named);
extern int score_address_p (enum machine_mode mode, rtx x, int strict);
extern int score_address_p (enum machine_mode mode, rtx x, int strict);
extern int score_reg_class (int regno);
extern int score_reg_class (int regno);
extern int score_register_move_cost (enum machine_mode mode, enum reg_class to,
extern int score_register_move_cost (enum machine_mode mode, enum reg_class to,
                                     enum reg_class from);
                                     enum reg_class from);
extern int score_hard_regno_mode_ok (unsigned int, enum machine_mode);
extern int score_hard_regno_mode_ok (unsigned int, enum machine_mode);
extern int score_const_ok_for_letter_p (HOST_WIDE_INT value, char c);
extern int score_const_ok_for_letter_p (HOST_WIDE_INT value, char c);
extern int score_extra_constraint (rtx op, char c);
extern int score_extra_constraint (rtx op, char c);
extern rtx score_return_addr (int count, rtx frame);
extern rtx score_return_addr (int count, rtx frame);
extern int score_regno_mode_ok_for_base_p (int regno, int strict);
extern int score_regno_mode_ok_for_base_p (int regno, int strict);
extern void score_function_arg_advance (CUMULATIVE_ARGS *cum,
extern void score_function_arg_advance (CUMULATIVE_ARGS *cum,
                                        enum machine_mode mode,
                                        enum machine_mode mode,
                                        tree type, int named);
                                        tree type, int named);
extern void score_init_cumulative_args (CUMULATIVE_ARGS *cum,
extern void score_init_cumulative_args (CUMULATIVE_ARGS *cum,
                                        tree fntype, rtx libname);
                                        tree fntype, rtx libname);
extern void score_declare_object (FILE *stream, const char *name,
extern void score_declare_object (FILE *stream, const char *name,
                                  const char *directive, const char *fmt, ...);
                                  const char *directive, const char *fmt, ...);
extern int score_output_external (FILE *file, tree decl, const char *name);
extern int score_output_external (FILE *file, tree decl, const char *name);
extern void score_override_options (void);
extern void score_override_options (void);
extern enum reg_class score_secondary_reload_class (enum reg_class rclass,
extern enum reg_class score_secondary_reload_class (enum reg_class rclass,
                                                    enum machine_mode mode,
                                                    enum machine_mode mode,
                                                    rtx x);
                                                    rtx x);
extern rtx score_function_value (tree valtype, tree func,
extern rtx score_function_value (tree valtype, tree func,
                                 enum machine_mode mode);
                                 enum machine_mode mode);
extern enum reg_class score_preferred_reload_class (rtx x,
extern enum reg_class score_preferred_reload_class (rtx x,
                                                    enum reg_class rclass);
                                                    enum reg_class rclass);
extern HOST_WIDE_INT score_initial_elimination_offset (int from, int to);
extern HOST_WIDE_INT score_initial_elimination_offset (int from, int to);
extern void score_print_operand (FILE *file, rtx op, int letter);
extern void score_print_operand (FILE *file, rtx op, int letter);
extern void score_print_operand_address (FILE *file, rtx addr);
extern void score_print_operand_address (FILE *file, rtx addr);
extern int score_arg_partial_bytes (CUMULATIVE_ARGS *cum,
extern int score_arg_partial_bytes (CUMULATIVE_ARGS *cum,
                                    enum machine_mode mode,
                                    enum machine_mode mode,
                                    tree type, bool named);
                                    tree type, bool named);
extern int score_symbolic_constant_p (rtx x,
extern int score_symbolic_constant_p (rtx x,
                                      enum score_symbol_type *symbol_type);
                                      enum score_symbol_type *symbol_type);
extern void score_movsicc (rtx *ops);
extern void score_movsicc (rtx *ops);
extern const char * score_select_add_imm (rtx *ops, bool set_cc);
extern const char * score_select_add_imm (rtx *ops, bool set_cc);
extern const char * score_select (rtx *ops, const char *inst_pre, bool commu,
extern const char * score_select (rtx *ops, const char *inst_pre, bool commu,
                                  const char *letter, bool set_cc);
                                  const char *letter, bool set_cc);
extern const char * score_output_casesi (rtx *operands);
extern const char * score_output_casesi (rtx *operands);
extern const char * score_rpush (rtx *ops);
extern const char * score_rpush (rtx *ops);
extern const char * score_rpop (rtx *ops);
extern const char * score_rpop (rtx *ops);
extern bool score_rtx_costs (rtx x, int code, int outer_code, int *total, bool speed);
extern bool score_rtx_costs (rtx x, int code, int outer_code, int *total, bool speed);
 
 
#ifdef RTX_CODE
#ifdef RTX_CODE
extern enum machine_mode score_select_cc_mode (enum rtx_code op, rtx x, rtx y);
extern enum machine_mode score_select_cc_mode (enum rtx_code op, rtx x, rtx y);
#endif
#endif
 
 
extern struct extern_list *extern_head;
extern struct extern_list *extern_head;
 
 
#endif /* GCC_SCORE_PROTOS_H  */
#endif /* GCC_SCORE_PROTOS_H  */
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.