comparison gcc/config/xtensa/xtensa-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 for Xtensa. 1 /* Prototypes of target machine for GNU compiler for Xtensa.
2 Copyright 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009 2 Copyright 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009, 2010, 2011
3 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
4 Contributed by Bob Wilson (bwilson@tensilica.com) at Tensilica. 4 Contributed by Bob Wilson (bwilson@tensilica.com) at Tensilica.
5 5
6 This file is part of GCC. 6 This file is part of GCC.
7 7
34 /* Functions within xtensa.c that we reference. */ 34 /* Functions within xtensa.c that we reference. */
35 #ifdef RTX_CODE 35 #ifdef RTX_CODE
36 extern int xt_true_regnum (rtx); 36 extern int xt_true_regnum (rtx);
37 extern int xtensa_valid_move (enum machine_mode, rtx *); 37 extern int xtensa_valid_move (enum machine_mode, rtx *);
38 extern int smalloffset_mem_p (rtx); 38 extern int smalloffset_mem_p (rtx);
39 extern int constantpool_address_p (rtx);
40 extern int constantpool_mem_p (rtx); 39 extern int constantpool_mem_p (rtx);
41 extern void xtensa_extend_reg (rtx, rtx); 40 extern void xtensa_extend_reg (rtx, rtx);
42 extern void xtensa_expand_conditional_branch (rtx *, enum machine_mode); 41 extern void xtensa_expand_conditional_branch (rtx *, enum machine_mode);
43 extern int xtensa_expand_conditional_move (rtx *, int); 42 extern int xtensa_expand_conditional_move (rtx *, int);
44 extern int xtensa_expand_scc (rtx *, enum machine_mode); 43 extern int xtensa_expand_scc (rtx *, enum machine_mode);
60 extern void init_cumulative_args (CUMULATIVE_ARGS *, int); 59 extern void init_cumulative_args (CUMULATIVE_ARGS *, int);
61 #endif /* TREE_CODE */ 60 #endif /* TREE_CODE */
62 61
63 extern void print_operand (FILE *, rtx, int); 62 extern void print_operand (FILE *, rtx, int);
64 extern void print_operand_address (FILE *, rtx); 63 extern void print_operand_address (FILE *, rtx);
65 extern bool xtensa_output_addr_const_extra (FILE *, rtx);
66 extern void xtensa_output_literal (FILE *, rtx, enum machine_mode, int); 64 extern void xtensa_output_literal (FILE *, rtx, enum machine_mode, int);
67 extern rtx xtensa_return_addr (int, rtx); 65 extern rtx xtensa_return_addr (int, rtx);
68 extern enum reg_class xtensa_preferred_reload_class (rtx, enum reg_class, int);
69 struct secondary_reload_info;
70 extern enum reg_class xtensa_secondary_reload (bool, rtx, enum reg_class,
71 enum machine_mode,
72 struct secondary_reload_info *);
73 #endif /* RTX_CODE */ 66 #endif /* RTX_CODE */
74
75 #ifdef TREE_CODE
76 extern void function_arg_advance (CUMULATIVE_ARGS *, enum machine_mode, tree);
77 extern struct rtx_def *function_arg (CUMULATIVE_ARGS *, enum machine_mode,
78 tree, int);
79 extern int function_arg_boundary (enum machine_mode, tree);
80 #endif /* TREE_CODE */
81 67
82 extern void xtensa_setup_frame_addresses (void); 68 extern void xtensa_setup_frame_addresses (void);
83 extern int xtensa_dbx_register_number (int); 69 extern int xtensa_dbx_register_number (int);
84 extern void override_options (void);
85 extern long compute_frame_size (int); 70 extern long compute_frame_size (int);
86 extern void xtensa_expand_prologue (void); 71 extern void xtensa_expand_prologue (void);
87 extern void order_regs_for_local_alloc (void); 72 extern void order_regs_for_local_alloc (void);
88 73
89 #endif /* !__XTENSA_PROTOS_H__ */ 74 #endif /* !__XTENSA_PROTOS_H__ */