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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [config/] [tilepro/] [tilepro-protos.h] - Blame information for rev 867

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 709 jeremybenn
/* Prototypes of target machine for TILEPro.
2
   Copyright (C) 2011, 2012
3
   Free Software Foundation, Inc.
4
   Contributed by Walter Lee (walt@tilera.com)
5
 
6
   This file is part of GCC.
7
 
8
   GCC is free software; you can redistribute it and/or modify it
9
   under the terms of the GNU General Public License as published
10
   by the Free Software Foundation; either version 3, or (at your
11
   option) any later version.
12
 
13
   GCC is distributed in the hope that it will be useful, but WITHOUT
14
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15
   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
16
   License for more details.
17
 
18
   You should have received a copy of the GNU General Public License
19
   along with GCC; see the file COPYING3.  If not see
20
   <http://www.gnu.org/licenses/>.  */
21
 
22
#ifndef GCC__TILEPRO_PROTOS_H
23
#define GCC__TILEPRO_PROTOS_H
24
 
25
 
26
extern void tilepro_init_expanders (void);
27
extern bool tilepro_legitimate_pic_operand_p (rtx);
28
extern rtx tilepro_simd_int (rtx, enum machine_mode);
29
 
30
#ifdef RTX_CODE
31
extern void split_di (rtx[], int, rtx[], rtx[]);
32
extern bool tilepro_bitfield_operand_p (HOST_WIDE_INT, int *, int *);
33
extern void tilepro_expand_set_const32 (rtx, rtx);
34
extern bool tilepro_expand_mov (enum machine_mode, rtx *);
35
extern void tilepro_expand_insv (rtx operands[4]);
36
extern void tilepro_expand_unaligned_load (rtx, rtx, HOST_WIDE_INT,
37
                                           HOST_WIDE_INT, bool);
38
extern void tilepro_expand_movmisalign (enum machine_mode, rtx *);
39
extern bool tilepro_expand_addsi (rtx, rtx, rtx);
40
extern void tilepro_allocate_stack (rtx, rtx);
41
extern bool tilepro_expand_mulsi (rtx, rtx, rtx);
42
extern void tilepro_expand_smulsi3_highpart (rtx, rtx, rtx);
43
extern void tilepro_expand_umulsi3_highpart (rtx, rtx, rtx);
44
 
45
extern bool tilepro_emit_setcc (rtx[], enum machine_mode);
46
extern void tilepro_emit_conditional_branch (rtx[], enum machine_mode);
47
extern rtx tilepro_emit_conditional_move (rtx);
48
extern const char *tilepro_output_cbranch_with_opcode (rtx, rtx *,
49
                                                       const char *,
50
                                                       const char *, int,
51
                                                       bool);
52
extern const char *tilepro_output_cbranch (rtx, rtx *, bool);
53
extern void tilepro_expand_tablejump (rtx, rtx);
54
extern void tilepro_expand_builtin_vector_binop (rtx (*)(rtx, rtx, rtx),
55
                                                 enum machine_mode, rtx,
56
                                                 enum machine_mode, rtx, rtx,
57
                                                 bool);
58
#endif /* RTX_CODE */
59
 
60
extern bool tilepro_can_use_return_insn_p (void);
61
extern void tilepro_expand_prologue (void);
62
extern void tilepro_expand_epilogue (bool);
63
extern int tilepro_initial_elimination_offset (int, int);
64
extern rtx tilepro_return_addr (int, rtx);
65
extern rtx tilepro_eh_return_handler_rtx (void);
66
extern int tilepro_adjust_insn_length (rtx, int);
67
 
68
extern int tilepro_asm_preferred_eh_data_format (int, int);
69
extern void tilepro_final_prescan_insn (rtx);
70
extern const char *tilepro_asm_output_opcode (FILE *, const char *);
71
extern void tilepro_function_profiler (FILE *, int);
72
 
73
/* Declare functions in tile-c.c */
74
 
75
extern void tilepro_cpu_cpp_builtins (struct cpp_reader *);
76
 
77
#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.