1 |
709 |
jeremybenn |
/* Definitions of target machine for GNU compiler. Matsushita MN10300 series
|
2 |
|
|
Copyright (C) 2000, 2003, 2004, 2005, 2007, 2009, 2010, 2011
|
3 |
|
|
Free Software Foundation, Inc.
|
4 |
|
|
Contributed by Jeff Law (law@cygnus.com).
|
5 |
|
|
|
6 |
|
|
This file is part of GCC.
|
7 |
|
|
|
8 |
|
|
GCC is free software; you can redistribute it and/or modify
|
9 |
|
|
it under the terms of the GNU General Public License as published by
|
10 |
|
|
the Free Software Foundation; either version 3, or (at your option)
|
11 |
|
|
any later version.
|
12 |
|
|
|
13 |
|
|
GCC is distributed in the hope that it will be useful,
|
14 |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
16 |
|
|
GNU General Public 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 |
|
|
#ifdef RTX_CODE
|
23 |
|
|
extern rtx mn10300_legitimize_pic_address (rtx, rtx);
|
24 |
|
|
extern int mn10300_legitimate_pic_operand_p (rtx);
|
25 |
|
|
extern rtx mn10300_legitimize_reload_address (rtx, enum machine_mode,
|
26 |
|
|
int, int, int);
|
27 |
|
|
extern bool mn10300_function_value_regno_p (const unsigned int);
|
28 |
|
|
extern int mn10300_get_live_callee_saved_regs (void);
|
29 |
|
|
extern bool mn10300_hard_regno_mode_ok (unsigned int, enum machine_mode);
|
30 |
|
|
extern bool mn10300_modes_tieable (enum machine_mode, enum machine_mode);
|
31 |
|
|
extern const char *mn10300_output_add (rtx[3], bool);
|
32 |
|
|
extern void mn10300_print_operand (FILE *, rtx, int);
|
33 |
|
|
extern void mn10300_print_operand_address (FILE *, rtx);
|
34 |
|
|
extern void mn10300_print_reg_list (FILE *, int);
|
35 |
|
|
extern enum machine_mode mn10300_select_cc_mode (enum rtx_code, rtx, rtx);
|
36 |
|
|
extern int mn10300_store_multiple_operation (rtx, enum machine_mode);
|
37 |
|
|
extern int mn10300_symbolic_operand (rtx, enum machine_mode);
|
38 |
|
|
extern void mn10300_split_cbranch (enum machine_mode, rtx, rtx);
|
39 |
|
|
extern int mn10300_split_and_operand_count (rtx);
|
40 |
|
|
extern bool mn10300_match_ccmode (rtx, enum machine_mode);
|
41 |
|
|
#endif /* RTX_CODE */
|
42 |
|
|
|
43 |
|
|
extern bool mn10300_regno_in_class_p (unsigned, int, bool);
|
44 |
|
|
extern bool mn10300_can_use_rets_insn (void);
|
45 |
|
|
extern bool mn10300_can_use_retf_insn (void);
|
46 |
|
|
extern void mn10300_expand_prologue (void);
|
47 |
|
|
extern void mn10300_expand_epilogue (void);
|
48 |
|
|
extern int mn10300_initial_offset (int, int);
|
49 |
|
|
extern int mn10300_frame_size (void);
|