comparison gcc/config/microblaze/microblaze-protos.h @ 68:561a7518be6b

update gcc-4.6
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Sun, 21 Aug 2011 07:07:55 +0900
parents
children 04ced10e8804
comparison
equal deleted inserted replaced
67:f6334be47118 68:561a7518be6b
1 /* Definitions of target machine for GNU compiler, for Xilinx MicroBlaze.
2 Copyright 2009, 2010 Free Software Foundation, Inc.
3
4 This file is part of GCC.
5
6 Contributed by Michael Eager <eager@eagercon.com>.
7
8 GCC is free software; you can redistribute it and/or modify it
9 under the terms of the GNU General Public License as published
10 by the Free Software Foundation; either version 3, or (at your
11 option) any later version.
12
13 GCC is distributed in the hope that it will be useful, but WITHOUT
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
16 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 #ifndef GCC_MICROBLAZE_PROTOS_H
23 #define GCC_MICROBLAZE_PROTOS_H
24
25 #ifdef RTX_CODE
26 extern int pic_address_needs_scratch (rtx);
27 extern void expand_block_move (rtx *);
28 extern void microblaze_expand_prologue (void);
29 extern void microblaze_expand_epilogue (void);
30 extern void override_options (void);
31 extern int microblaze_expand_shift (rtx *);
32 extern bool microblaze_expand_move (enum machine_mode, rtx *);
33 extern bool microblaze_expand_block_move (rtx, rtx, rtx, rtx);
34 extern void microblaze_expand_divide (rtx *);
35 extern void microblaze_expand_conditional_branch (enum machine_mode, rtx *);
36 extern void microblaze_expand_conditional_branch_sf (rtx *);
37 extern int microblaze_can_use_return_insn (void);
38 extern int microblaze_const_double_ok (rtx, enum machine_mode);
39 extern void print_operand (FILE *, rtx, int);
40 extern void print_operand_address (FILE *, rtx);
41 extern void init_cumulative_args (CUMULATIVE_ARGS *,tree, rtx);
42 extern bool microblaze_legitimate_address_p (enum machine_mode, rtx, bool);
43 extern int microblaze_is_interrupt_handler (void);
44 extern rtx microblaze_return_addr (int, rtx);
45 extern int simple_memory_operand (rtx, enum machine_mode);
46 extern int double_memory_operand (rtx, enum machine_mode);
47
48 extern int microblaze_regno_ok_for_base_p (int, int);
49 extern HOST_WIDE_INT microblaze_initial_elimination_offset (int, int);
50 extern void microblaze_declare_object (FILE *, const char *, const char *,
51 const char *, int);
52 extern void microblaze_asm_output_ident (FILE *, const char *);
53 #endif /* RTX_CODE */
54
55 /* Declare functions in microblaze-c.c. */
56 extern void microblaze_cpp_define (struct cpp_reader *);
57
58 #endif /* GCC_MICROBLAZE_PROTOS_H */