Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(447)

Side by Side Diff: gcc/gcc/config/picochip/picochip-protos.h

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « gcc/gcc/config/picochip/picochip.md ('k') | gcc/gcc/config/picochip/t-picochip » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Prototypes for exported functions defined in picochip.c 1 /* Prototypes for exported functions defined in picochip.c
2 2
3 Copyright (C) 2000, 2001, 2008 Free Software Foundation, Inc. 3 Copyright (C) 2000, 2001, 2008 Free Software Foundation, Inc.
4 Contributed by picoChip Designs Ltd. (http://www.picochip.com) 4 Contributed by picoChip Designs Ltd. (http://www.picochip.com)
5 Maintained by Daniel Towner (daniel.towner@picochip.com) and 5 Maintained by Daniel Towner (daniel.towner@picochip.com) and
6 Hariharan Sandanagobalane (hariharan@picochip.com). 6 Hariharan Sandanagobalane (hariharan@picochip.com).
7 7
8 This file is part of GCC. 8 This file is part of GCC.
9 9
10 GCC is free software; you can redistribute it and/or modify 10 GCC is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by 11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 3, or (at your option) 12 the Free Software Foundation; either version 3, or (at your option)
13 any later version. 13 any later version.
14 14
15 GCC is distributed in the hope that it will be useful, 15 GCC is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of 16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details. 18 GNU General Public License for more details.
19 19
20 You should have received a copy of the GNU General Public License 20 You should have received a copy of the GNU General Public License
21 along with GCC; see the file COPYING3. If not, see 21 along with GCC; see the file COPYING3. If not, see
22 <http://www.gnu.org/licenses/>. */ 22 <http://www.gnu.org/licenses/>. */
23 23
24 #include "target.h" 24 #include "target.h"
25 extern void picochip_function_prologue (FILE *, HOST_WIDE_INT); 25 extern void picochip_function_prologue (FILE *, HOST_WIDE_INT);
26 extern void picochip_function_epilogue (FILE *, HOST_WIDE_INT); 26 extern void picochip_function_epilogue (FILE *, HOST_WIDE_INT);
27 27
28 extern enum reg_class picochip_reg_class_from_letter (unsigned); 28 extern enum reg_class picochip_reg_class_from_letter (unsigned);
29 extern int picochip_legitimate_address_p (int, struct rtx_def *, unsigned);
30 extern int picochip_const_ok_for_letter_p (unsigned HOST_WIDE_INT value, unsigne d c); 29 extern int picochip_const_ok_for_letter_p (unsigned HOST_WIDE_INT value, unsigne d c);
31 30
32 #ifdef RTX_CODE /* inside TREE_CODE */ 31 #ifdef RTX_CODE /* inside TREE_CODE */
33 32
34 extern int picochip_reg_mode_ok_for_base_p (int mode, rtx x, unsigned strict); 33 extern int picochip_reg_mode_ok_for_base_p (int mode, rtx x, unsigned strict);
35 extern void picochip_print_operand (FILE * file, rtx op, int letter); 34 extern void picochip_print_operand (FILE * file, rtx op, int letter);
36 extern void picochip_print_operand_address (FILE * file, rtx operand); 35 extern void picochip_print_operand_address (FILE * file, rtx operand);
37 36
38 extern const char *picochip_output_cbranch (rtx operands[]); 37 extern const char *picochip_output_cbranch (rtx operands[]);
39 extern const char *picochip_output_branch (rtx operands[], rtx insn); 38 extern const char *picochip_output_branch (rtx operands[], rtx insn);
(...skipping 14 matching lines...) Expand all
54 extern rtx gen_min_reg(rtx opnd1,rtx opnd2); 53 extern rtx gen_min_reg(rtx opnd1,rtx opnd2);
55 54
56 extern rtx picochip_function_arg (CUMULATIVE_ARGS cum, int mode, tree type, 55 extern rtx picochip_function_arg (CUMULATIVE_ARGS cum, int mode, tree type,
57 int named); 56 int named);
58 57
59 extern rtx picochip_incoming_function_arg (CUMULATIVE_ARGS, int, tree, int); 58 extern rtx picochip_incoming_function_arg (CUMULATIVE_ARGS, int, tree, int);
60 extern CUMULATIVE_ARGS picochip_arg_advance (CUMULATIVE_ARGS cum, int mode, 59 extern CUMULATIVE_ARGS picochip_arg_advance (CUMULATIVE_ARGS cum, int mode,
61 tree type, int named); 60 tree type, int named);
62 61
63 extern int picochip_regno_nregs (int regno, int mode); 62 extern int picochip_regno_nregs (int regno, int mode);
64 extern int picochip_class_max_nregs (int class, int mode); 63 extern int picochip_class_max_nregs (int klass, int mode);
65 64
66 extern void picochip_order_regs_for_local_alloc (void); 65 extern void picochip_order_regs_for_local_alloc (void);
67 66
68 extern int picochip_word_aligned_memory_reference (rtx operand); 67 extern int picochip_word_aligned_memory_reference (rtx operand);
69 extern int picochip_alignable_memory_operand (rtx operand, enum machine_mode mod e); 68 extern int picochip_alignable_memory_operand (rtx operand, enum machine_mode mod e);
70 extern int picochip_absolute_memory_operand (rtx op, enum machine_mode mode); 69 extern int picochip_absolute_memory_operand (rtx op, enum machine_mode mode);
71 70
72 extern rtx picochip_function_value (const_tree valtype, const_tree func, bool ou tgoing); 71 extern rtx picochip_function_value (const_tree valtype, const_tree func, bool ou tgoing);
73 extern int picochip_symbol_offset (rtx operand); 72 extern int picochip_symbol_offset (rtx operand);
74 73
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 extern int picochip_flag_schedule_insns2; 130 extern int picochip_flag_schedule_insns2;
132 131
133 extern void picochip_asm_output_anchor (rtx symbol); 132 extern void picochip_asm_output_anchor (rtx symbol);
134 133
135 /* Instruction set capability flags. These are initialised to the 134 /* Instruction set capability flags. These are initialised to the
136 appropriate values by picochip_override_options, once the user has 135 appropriate values by picochip_override_options, once the user has
137 selected a CPU type. */ 136 selected a CPU type. */
138 extern bool picochip_has_mul_unit; 137 extern bool picochip_has_mul_unit;
139 extern bool picochip_has_mac_unit; 138 extern bool picochip_has_mac_unit;
140 139
OLDNEW
« no previous file with comments | « gcc/gcc/config/picochip/picochip.md ('k') | gcc/gcc/config/picochip/t-picochip » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698