0
|
1 /* Definitions of target machine for GNU compiler. Matsushita MN10300 series
|
|
2 Copyright (C) 2000, 2003, 2004, 2005, 2007 Free Software Foundation, Inc.
|
|
3 Contributed by Jeff Law (law@cygnus.com).
|
|
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 #ifdef RTX_CODE
|
|
22
|
|
23 extern void mn10300_override_options (void);
|
|
24 extern struct rtx_def *legitimize_address (rtx, rtx, enum machine_mode);
|
|
25 extern rtx legitimize_pic_address (rtx, rtx);
|
|
26 extern int legitimate_pic_operand_p (rtx);
|
|
27 extern bool legitimate_address_p (enum machine_mode, rtx, int);
|
|
28 extern void print_operand (FILE *, rtx, int);
|
|
29 extern void print_operand_address (FILE *, rtx);
|
|
30 extern void mn10300_print_reg_list (FILE *, int);
|
|
31 extern int mn10300_get_live_callee_saved_regs (void);
|
|
32 extern void mn10300_gen_multiple_store (int);
|
|
33 extern void notice_update_cc (rtx, rtx);
|
|
34 extern enum reg_class mn10300_secondary_reload_class (enum reg_class,
|
|
35 enum machine_mode, rtx);
|
|
36 extern const char *output_tst (rtx, rtx);
|
|
37 extern int store_multiple_operation (rtx, enum machine_mode);
|
|
38 extern int symbolic_operand (rtx, enum machine_mode);
|
|
39 extern int impossible_plus_operand (rtx, enum machine_mode);
|
|
40
|
|
41 extern bool mn10300_wide_const_load_uses_clr (rtx operands[2]);
|
|
42 #endif /* RTX_CODE */
|
|
43
|
|
44 #ifdef TREE_CODE
|
|
45 extern struct rtx_def *function_arg (CUMULATIVE_ARGS *,
|
|
46 enum machine_mode, tree, int);
|
|
47 extern rtx mn10300_function_value (const_tree, const_tree, int);
|
|
48 #endif /* TREE_CODE */
|
|
49
|
|
50 extern void expand_prologue (void);
|
|
51 extern void expand_epilogue (void);
|
|
52 extern int initial_offset (int, int);
|
|
53 extern int can_use_return_insn (void);
|
|
54 extern int mask_ok_for_mem_btst (int, int);
|