1 /* Prototypes for fr30.c functions used in the md file & elsewhere.
2 Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc.
4 This file is part of GCC.
6 GCC 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)
11 GCC 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.
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING. If not, write to
18 the Free Software Foundation, 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
21 extern void fr30_expand_prologue (void);
22 extern void fr30_expand_epilogue (void);
23 extern unsigned int fr30_compute_frame_size (int, int);
26 extern int fr30_check_multiple_regs (rtx
*, int, int);
27 extern void fr30_print_operand (FILE *, rtx
, int);
28 extern void fr30_print_operand_address (FILE *, rtx
);
29 extern rtx
fr30_move_double (rtx
*);
31 extern rtx
fr30_va_arg (tree
, tree
);
32 extern int fr30_num_arg_regs (enum machine_mode
, tree
);
33 extern int fr30_function_arg_partial_nregs (CUMULATIVE_ARGS
,
34 enum machine_mode
, tree
, int);
35 #endif /* TREE_CODE */
36 #ifdef HAVE_MACHINE_MODES
37 #define Mmode enum machine_mode
38 extern int stack_add_operand (rtx
, Mmode
);
39 extern int add_immediate_operand (rtx
, Mmode
);
40 extern int high_register_operand (rtx
, Mmode
);
41 extern int low_register_operand (rtx
, Mmode
);
42 extern int call_operand (rtx
, Mmode
);
43 extern int di_operand (rtx
, Mmode
);
44 extern int nonimmediate_di_operand (rtx
, Mmode
);
45 extern int fr30_const_double_is_zero (rtx
);
47 #endif /* HAVE_MACHINE_MODES */