comparison gcc/config/mips/mips-protos.h @ 67:f6334be47118

update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
date Tue, 22 Mar 2011 17:18:12 +0900
parents 77e2b8dfacca
children 04ced10e8804
comparison
equal deleted inserted replaced
65:65488c3d617d 67:f6334be47118
1 /* Prototypes of target machine for GNU compiler. MIPS version. 1 /* Prototypes of target machine for GNU compiler. MIPS version.
2 Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2 Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
3 1999, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009 3 1999, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009, 2010, 2011
4 Free Software Foundation, Inc. 4 Free Software Foundation, Inc.
5 Contributed by A. Lichnewsky (lich@inria.inria.fr). 5 Contributed by A. Lichnewsky (lich@inria.inria.fr).
6 Changed by Michael Meissner (meissner@osf.org). 6 Changed by Michael Meissner (meissner@osf.org).
7 64-bit r4000 support by Ian Lance Taylor (ian@cygnus.com) and 7 64-bit r4000 support by Ian Lance Taylor (ian@cygnus.com) and
8 Brendan Eich (brendan@microunity.com). 8 Brendan Eich (brendan@microunity.com).
238 extern void mips_set_return_address (rtx, rtx); 238 extern void mips_set_return_address (rtx, rtx);
239 extern bool mips_expand_block_move (rtx, rtx, rtx); 239 extern bool mips_expand_block_move (rtx, rtx, rtx);
240 extern void mips_expand_synci_loop (rtx, rtx); 240 extern void mips_expand_synci_loop (rtx, rtx);
241 241
242 extern void mips_init_cumulative_args (CUMULATIVE_ARGS *, tree); 242 extern void mips_init_cumulative_args (CUMULATIVE_ARGS *, tree);
243 extern void mips_function_arg_advance (CUMULATIVE_ARGS *, enum machine_mode,
244 tree, int);
245 extern rtx mips_function_arg (const CUMULATIVE_ARGS *,
246 enum machine_mode, tree, int);
247 extern int mips_function_arg_boundary (enum machine_mode, tree);
248 extern bool mips_pad_arg_upward (enum machine_mode, const_tree); 243 extern bool mips_pad_arg_upward (enum machine_mode, const_tree);
249 extern bool mips_pad_reg_upward (enum machine_mode, tree); 244 extern bool mips_pad_reg_upward (enum machine_mode, tree);
250 245
251 extern bool mips_expand_ext_as_unaligned_load (rtx, rtx, HOST_WIDE_INT, 246 extern bool mips_expand_ext_as_unaligned_load (rtx, rtx, HOST_WIDE_INT,
252 HOST_WIDE_INT); 247 HOST_WIDE_INT);
253 extern bool mips_expand_ins_as_unaligned_store (rtx, rtx, HOST_WIDE_INT, 248 extern bool mips_expand_ins_as_unaligned_store (rtx, rtx, HOST_WIDE_INT,
254 HOST_WIDE_INT); 249 HOST_WIDE_INT);
255 extern bool mips_mem_fits_mode_p (enum machine_mode mode, rtx x); 250 extern bool mips_mem_fits_mode_p (enum machine_mode mode, rtx x);
256 extern void mips_override_options (void);
257 extern void mips_conditional_register_usage (void);
258 extern void mips_order_regs_for_local_alloc (void); 251 extern void mips_order_regs_for_local_alloc (void);
259 extern HOST_WIDE_INT mips_debugger_offset (rtx, HOST_WIDE_INT); 252 extern HOST_WIDE_INT mips_debugger_offset (rtx, HOST_WIDE_INT);
260 253
261 extern void mips_push_asm_switch (struct mips_asm_switch *); 254 extern void mips_push_asm_switch (struct mips_asm_switch *);
262 extern void mips_pop_asm_switch (struct mips_asm_switch *); 255 extern void mips_pop_asm_switch (struct mips_asm_switch *);
263 extern void mips_print_operand (FILE *, rtx, int);
264 extern void mips_print_operand_address (FILE *, rtx);
265 extern void mips_output_external (FILE *, tree, const char *); 256 extern void mips_output_external (FILE *, tree, const char *);
266 extern void mips_output_filename (FILE *, const char *);
267 extern void mips_output_ascii (FILE *, const char *, size_t); 257 extern void mips_output_ascii (FILE *, const char *, size_t);
268 extern void mips_output_aligned_decl_common (FILE *, tree, const char *, 258 extern void mips_output_aligned_decl_common (FILE *, tree, const char *,
269 unsigned HOST_WIDE_INT, 259 unsigned HOST_WIDE_INT,
270 unsigned int); 260 unsigned int);
271 extern void mips_declare_common_object (FILE *, const char *, 261 extern void mips_declare_common_object (FILE *, const char *,
291 281
292 extern bool mips_cannot_change_mode_class (enum machine_mode, 282 extern bool mips_cannot_change_mode_class (enum machine_mode,
293 enum machine_mode, enum reg_class); 283 enum machine_mode, enum reg_class);
294 extern bool mips_dangerous_for_la25_p (rtx); 284 extern bool mips_dangerous_for_la25_p (rtx);
295 extern bool mips_modes_tieable_p (enum machine_mode, enum machine_mode); 285 extern bool mips_modes_tieable_p (enum machine_mode, enum machine_mode);
296 extern enum reg_class mips_preferred_reload_class (rtx, enum reg_class);
297 extern enum reg_class mips_secondary_reload_class (enum reg_class, 286 extern enum reg_class mips_secondary_reload_class (enum reg_class,
298 enum machine_mode, 287 enum machine_mode,
299 rtx, bool); 288 rtx, bool);
300 extern int mips_class_max_nregs (enum reg_class, enum machine_mode); 289 extern int mips_class_max_nregs (enum reg_class, enum machine_mode);
301 extern int mips_register_move_cost (enum machine_mode, enum reg_class,
302 enum reg_class);
303 290
304 extern int mips_adjust_insn_length (rtx, int); 291 extern int mips_adjust_insn_length (rtx, int);
305 extern void mips_output_load_label (rtx); 292 extern void mips_output_load_label (rtx);
306 extern const char *mips_output_conditional_branch (rtx, rtx *, const char *, 293 extern const char *mips_output_conditional_branch (rtx, rtx *, const char *,
307 const char *); 294 const char *);