OSDN Git Service

76083a7dc7bc4c3bcd230e539f7e1a8886670545
[pf3gnuchains/gcc-fork.git] / gcc / config / m68k / m68k-protos.h
1 /* Definitions of target machine for GNU compiler.  Sun 68000/68020 version.
2    Copyright (C) 2000, 2002 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 /* Define functions defined in aux-output.c and used in templates.  */
22
23 #ifdef RTX_CODE
24 extern const char *output_move_const_into_data_reg (rtx *);
25 extern const char *output_move_simode_const (rtx *);
26 extern const char *output_move_simode (rtx *);
27 extern const char *output_move_himode (rtx *);
28 extern const char *output_move_qimode (rtx *);
29 extern const char *output_move_stricthi (rtx *);
30 extern const char *output_move_strictqi (rtx *);
31 extern const char *output_move_double (rtx *);
32 extern const char *output_move_const_single (rtx *);
33 extern const char *output_move_const_double (rtx *);
34 extern const char *output_btst (rtx *, rtx, rtx, rtx, int);
35 extern const char *output_scc_di (rtx, rtx, rtx, rtx);
36 extern const char *output_addsi3 (rtx *);
37 extern const char *output_andsi3 (rtx *);
38 extern const char *output_iorsi3 (rtx *);
39 extern const char *output_xorsi3 (rtx *);
40 extern void output_dbcc_and_branch (rtx *);
41 extern int const_uint32_operand (rtx, enum machine_mode);
42 extern int const_sint32_operand (rtx, enum machine_mode);
43 extern int floating_exact_log2 (rtx);
44 extern int not_sp_operand (rtx, enum machine_mode);
45 extern int valid_dbcc_comparison_p (rtx, enum machine_mode);
46 extern int extend_operator (rtx, enum machine_mode);
47 extern bool strict_low_part_peephole_ok (enum machine_mode mode, rtx first_insn, rtx target);
48
49 /* Functions from m68k.c used in macros.  */
50 extern bool symbolic_operand (rtx, enum machine_mode);
51 extern int standard_68881_constant_p (rtx);
52 extern void print_operand_address (FILE *, rtx);
53 extern void print_operand (FILE *, rtx, int);
54 extern void notice_update_cc (rtx, rtx);
55 #if 0
56 extern void finalize_pic (rtx, enum machine_mode));
57 #endif
58 extern int general_src_operand (rtx, enum machine_mode);
59 extern int nonimmediate_src_operand (rtx, enum machine_mode);
60 extern int memory_src_operand (rtx, enum machine_mode);
61 extern int pcrel_address (rtx, enum machine_mode);
62 extern rtx legitimize_pic_address (rtx, enum machine_mode, rtx);
63 #endif /* RTX_CODE */
64
65 extern int flags_in_68881 (void);
66 extern int use_return_insn (void);
67 extern void override_options (void);
68 extern void init_68881_table (void);