OSDN Git Service

Add movdi pattern to FR30 port.
[pf3gnuchains/gcc-fork.git] / gcc / config / fr30 / fr30-protos.h
1 /* Prototypes for fr30.c functions used in the md file & elsewhere.
2    Copyright (C) 1999, 2000 Free Software Foundation, Inc.
3
4 This file is part of GNU CC.
5
6 GNU CC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
10
11 GNU CC is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with GNU CC; see the file COPYING.  If not, write to
18 the Free Software Foundation, 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA.  */
20
21 extern void  fr30_expand_prologue PARAMS ((void));
22 extern void  fr30_expand_epilogue PARAMS ((void));
23 extern unsigned int fr30_compute_frame_size PARAMS ((int, int));
24
25 #ifdef RTX_CODE
26 extern int   fr30_check_multiple_regs   PARAMS ((rtx *, int, int));
27 extern void  fr30_print_operand         PARAMS ((FILE *, rtx, int));
28 extern void  fr30_print_operand_address PARAMS ((FILE *, rtx));
29 extern rtx   fr30_move_double           PARAMS ((rtx *));
30 #ifdef TREE_CODE
31 extern rtx   fr30_va_arg                PARAMS ((tree, tree));
32 #endif /* TREE_CODE */
33 #ifdef HAVE_MACHINE_MODES
34 #define Mmode enum machine_mode
35 extern int   stack_add_operand          PARAMS ((rtx, Mmode));
36 extern int   add_immediate_operand      PARAMS ((rtx, Mmode));
37 extern int   high_register_operand      PARAMS ((rtx, Mmode));
38 extern int   low_register_operand       PARAMS ((rtx, Mmode));
39 extern int   call_operand               PARAMS ((rtx, Mmode));
40 extern int   di_operand                 PARAMS ((rtx, Mmode));
41 extern int   nonimmediate_di_operand    PARAMS ((rtx, Mmode));
42 #undef Mmode
43 #endif /* HAVE_MACHINE_MODES */
44 #endif /* RTX_CODE */
45
46 #ifdef TREE_CODE
47 extern int   fr30_num_arg_regs               PARAMS ((int, tree));
48 extern int   fr30_function_arg_partial_nregs PARAMS ((CUMULATIVE_ARGS, int, tree, int));
49 extern void  fr30_setup_incoming_varargs     PARAMS ((CUMULATIVE_ARGS, int, tree, int *));
50 #endif /* TREE_CODE */