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

Subversion Repositories altor32

[/] [altor32/] [trunk/] [gcc-x64/] [or1knd-elf/] [lib/] [gcc/] [or1knd-elf/] [4.8.0/] [plugin/] [include/] [config/] [or1k/] [or1k-protos.h] - Blame information for rev 35

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 35 ultra_embe
/* Definitions of target machine for GNU compiler, OR1K cpu.
2
 
3
   Copyright (C) 2010 Embecosm Limited
4
 
5
This file is part of GCC.
6
 
7
GCC is free software; you can redistribute it and/or modify
8
it under the terms of the GNU General Public License as published by
9
the Free Software Foundation; either version 3, or (at your option)
10
any later version.
11
 
12
GCC is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
GNU General Public License for more details.
16
 
17
You should have received a copy of the GNU General Public License
18
along with GCC; see the file COPYING3.  If not see
19
<http://www.gnu.org/licenses/>.  */
20
 
21
#ifndef GCC_OR1K_PROTOS_H
22
#define GCC_OR1K_PROTOS_H
23
 
24
/* The following are for general support. */
25
extern int         or1k_trampoline_code_size (void);
26
 
27
/* The following are only needed when handling the machine definition. */
28
#ifdef RTX_CODE
29
extern void        or1k_init_expanders (void);
30
extern void        or1k_expand_prologue (void);
31
extern void        or1k_expand_epilogue (void);
32
extern bool        or1k_expand_move (enum machine_mode mode, rtx operands[]);
33
extern const char *or1k_output_move_double (rtx *operands);
34
extern void        or1k_expand_conditional_branch (rtx               *operands,
35
                                                   enum machine_mode  mode);
36
extern int         or1k_emit_cmove (rtx  dest,
37
                                    rtx  op,
38
                                    rtx  true_cond,
39
                                    rtx  false_cond);
40
extern enum machine_mode or1k_select_cc_mode (enum rtx_code op);
41
extern const char *or1k_output_bf (rtx * operands);
42
extern const char *or1k_output_cmov (rtx * operands);
43
extern void        or1k_emit_set_const32 (rtx  op0,
44
                                          rtx  op1);
45
extern bool        or1k_expand_symbol_ref (enum machine_mode mode,
46
                                           rtx operands[]);
47
#endif
48
 
49
#endif
50
extern int or1k_struct_alignment (tree);
51
extern int or1k_data_alignment (tree, int);
52
 
53
extern int or1k_initial_elimination_offset (int, int);
54
extern bool or1k_save_reg_p_cached (int regno);
55
extern void or1k_print_jump_restore (rtx jump_address);
56
extern rtx or1k_eh_return_handler_rtx (void);
57
extern rtx or1k_return_addr_rtx (int, rtx);
58
 
59
extern int or1k_legitimate_pic_operand_p (rtx x);
60
 
61
/* For RETURN_ADDR_RTX */
62
extern rtx get_hard_reg_initial_val (enum machine_mode, unsigned int);

powered by: WebSVN 2.1.0

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