OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-dev/] [fsf-gcc-snapshot-1-mar-12/] [or1k-gcc/] [gcc/] [config/] [tilepro/] [tilepro-protos.h] - Diff between revs 709 and 783

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

Rev 709 Rev 783
/* Prototypes of target machine for TILEPro.
/* Prototypes of target machine for TILEPro.
   Copyright (C) 2011, 2012
   Copyright (C) 2011, 2012
   Free Software Foundation, Inc.
   Free Software Foundation, Inc.
   Contributed by Walter Lee (walt@tilera.com)
   Contributed by Walter Lee (walt@tilera.com)
 
 
   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__TILEPRO_PROTOS_H
#ifndef GCC__TILEPRO_PROTOS_H
#define GCC__TILEPRO_PROTOS_H
#define GCC__TILEPRO_PROTOS_H
 
 
 
 
extern void tilepro_init_expanders (void);
extern void tilepro_init_expanders (void);
extern bool tilepro_legitimate_pic_operand_p (rtx);
extern bool tilepro_legitimate_pic_operand_p (rtx);
extern rtx tilepro_simd_int (rtx, enum machine_mode);
extern rtx tilepro_simd_int (rtx, enum machine_mode);
 
 
#ifdef RTX_CODE
#ifdef RTX_CODE
extern void split_di (rtx[], int, rtx[], rtx[]);
extern void split_di (rtx[], int, rtx[], rtx[]);
extern bool tilepro_bitfield_operand_p (HOST_WIDE_INT, int *, int *);
extern bool tilepro_bitfield_operand_p (HOST_WIDE_INT, int *, int *);
extern void tilepro_expand_set_const32 (rtx, rtx);
extern void tilepro_expand_set_const32 (rtx, rtx);
extern bool tilepro_expand_mov (enum machine_mode, rtx *);
extern bool tilepro_expand_mov (enum machine_mode, rtx *);
extern void tilepro_expand_insv (rtx operands[4]);
extern void tilepro_expand_insv (rtx operands[4]);
extern void tilepro_expand_unaligned_load (rtx, rtx, HOST_WIDE_INT,
extern void tilepro_expand_unaligned_load (rtx, rtx, HOST_WIDE_INT,
                                           HOST_WIDE_INT, bool);
                                           HOST_WIDE_INT, bool);
extern void tilepro_expand_movmisalign (enum machine_mode, rtx *);
extern void tilepro_expand_movmisalign (enum machine_mode, rtx *);
extern bool tilepro_expand_addsi (rtx, rtx, rtx);
extern bool tilepro_expand_addsi (rtx, rtx, rtx);
extern void tilepro_allocate_stack (rtx, rtx);
extern void tilepro_allocate_stack (rtx, rtx);
extern bool tilepro_expand_mulsi (rtx, rtx, rtx);
extern bool tilepro_expand_mulsi (rtx, rtx, rtx);
extern void tilepro_expand_smulsi3_highpart (rtx, rtx, rtx);
extern void tilepro_expand_smulsi3_highpart (rtx, rtx, rtx);
extern void tilepro_expand_umulsi3_highpart (rtx, rtx, rtx);
extern void tilepro_expand_umulsi3_highpart (rtx, rtx, rtx);
 
 
extern bool tilepro_emit_setcc (rtx[], enum machine_mode);
extern bool tilepro_emit_setcc (rtx[], enum machine_mode);
extern void tilepro_emit_conditional_branch (rtx[], enum machine_mode);
extern void tilepro_emit_conditional_branch (rtx[], enum machine_mode);
extern rtx tilepro_emit_conditional_move (rtx);
extern rtx tilepro_emit_conditional_move (rtx);
extern const char *tilepro_output_cbranch_with_opcode (rtx, rtx *,
extern const char *tilepro_output_cbranch_with_opcode (rtx, rtx *,
                                                       const char *,
                                                       const char *,
                                                       const char *, int,
                                                       const char *, int,
                                                       bool);
                                                       bool);
extern const char *tilepro_output_cbranch (rtx, rtx *, bool);
extern const char *tilepro_output_cbranch (rtx, rtx *, bool);
extern void tilepro_expand_tablejump (rtx, rtx);
extern void tilepro_expand_tablejump (rtx, rtx);
extern void tilepro_expand_builtin_vector_binop (rtx (*)(rtx, rtx, rtx),
extern void tilepro_expand_builtin_vector_binop (rtx (*)(rtx, rtx, rtx),
                                                 enum machine_mode, rtx,
                                                 enum machine_mode, rtx,
                                                 enum machine_mode, rtx, rtx,
                                                 enum machine_mode, rtx, rtx,
                                                 bool);
                                                 bool);
#endif /* RTX_CODE */
#endif /* RTX_CODE */
 
 
extern bool tilepro_can_use_return_insn_p (void);
extern bool tilepro_can_use_return_insn_p (void);
extern void tilepro_expand_prologue (void);
extern void tilepro_expand_prologue (void);
extern void tilepro_expand_epilogue (bool);
extern void tilepro_expand_epilogue (bool);
extern int tilepro_initial_elimination_offset (int, int);
extern int tilepro_initial_elimination_offset (int, int);
extern rtx tilepro_return_addr (int, rtx);
extern rtx tilepro_return_addr (int, rtx);
extern rtx tilepro_eh_return_handler_rtx (void);
extern rtx tilepro_eh_return_handler_rtx (void);
extern int tilepro_adjust_insn_length (rtx, int);
extern int tilepro_adjust_insn_length (rtx, int);
 
 
extern int tilepro_asm_preferred_eh_data_format (int, int);
extern int tilepro_asm_preferred_eh_data_format (int, int);
extern void tilepro_final_prescan_insn (rtx);
extern void tilepro_final_prescan_insn (rtx);
extern const char *tilepro_asm_output_opcode (FILE *, const char *);
extern const char *tilepro_asm_output_opcode (FILE *, const char *);
extern void tilepro_function_profiler (FILE *, int);
extern void tilepro_function_profiler (FILE *, int);
 
 
/* Declare functions in tile-c.c */
/* Declare functions in tile-c.c */
 
 
extern void tilepro_cpu_cpp_builtins (struct cpp_reader *);
extern void tilepro_cpu_cpp_builtins (struct cpp_reader *);
 
 
#endif /* GCC_TILEPRO_PROTOS_H */
#endif /* GCC_TILEPRO_PROTOS_H */
 
 

powered by: WebSVN 2.1.0

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