1 |
38 |
julius |
/* Definitions of target machine for GNU compiler. Sun 68000/68020 version.
|
2 |
|
|
Copyright (C) 2000, 2002, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
|
3 |
|
|
|
4 |
|
|
This file is part of GCC.
|
5 |
|
|
|
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 3, or (at your option)
|
9 |
|
|
any later version.
|
10 |
|
|
|
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.
|
15 |
|
|
|
16 |
|
|
You should have received a copy of the GNU General Public License
|
17 |
|
|
along with GCC; see the file COPYING3. If not see
|
18 |
|
|
<http://www.gnu.org/licenses/>. */
|
19 |
|
|
|
20 |
|
|
/* Define functions defined in aux-output.c and used in templates. */
|
21 |
|
|
|
22 |
|
|
#ifdef RTX_CODE
|
23 |
|
|
extern HOST_WIDE_INT m68k_initial_elimination_offset (int from, int to);
|
24 |
|
|
extern const char *output_move_const_into_data_reg (rtx *);
|
25 |
|
|
extern int valid_mov3q_const (rtx);
|
26 |
|
|
extern const char *output_move_simode_const (rtx *);
|
27 |
|
|
extern const char *output_move_simode (rtx *);
|
28 |
|
|
extern const char *output_move_himode (rtx *);
|
29 |
|
|
extern const char *output_move_qimode (rtx *);
|
30 |
|
|
extern const char *output_move_stricthi (rtx *);
|
31 |
|
|
extern const char *output_move_strictqi (rtx *);
|
32 |
|
|
extern const char *output_move_double (rtx *);
|
33 |
|
|
extern const char *output_move_const_single (rtx *);
|
34 |
|
|
extern const char *output_move_const_double (rtx *);
|
35 |
|
|
extern const char *output_btst (rtx *, rtx, rtx, rtx, int);
|
36 |
|
|
extern const char *output_scc_di (rtx, rtx, rtx, rtx);
|
37 |
|
|
extern const char *output_addsi3 (rtx *);
|
38 |
|
|
extern const char *output_andsi3 (rtx *);
|
39 |
|
|
extern const char *output_iorsi3 (rtx *);
|
40 |
|
|
extern const char *output_xorsi3 (rtx *);
|
41 |
|
|
extern void m68k_output_pic_call (rtx dest);
|
42 |
|
|
extern void output_dbcc_and_branch (rtx *);
|
43 |
|
|
extern int floating_exact_log2 (rtx);
|
44 |
|
|
extern bool strict_low_part_peephole_ok (enum machine_mode mode, rtx first_insn, rtx target);
|
45 |
|
|
|
46 |
|
|
/* Functions from m68k.c used in macros. */
|
47 |
|
|
extern int standard_68881_constant_p (rtx);
|
48 |
|
|
extern void print_operand_address (FILE *, rtx);
|
49 |
|
|
extern void print_operand (FILE *, rtx, int);
|
50 |
|
|
extern void notice_update_cc (rtx, rtx);
|
51 |
|
|
extern rtx legitimize_pic_address (rtx, enum machine_mode, rtx);
|
52 |
|
|
extern int valid_dbcc_comparison_p_2 (rtx, enum machine_mode);
|
53 |
|
|
extern rtx m68k_libcall_value (enum machine_mode);
|
54 |
|
|
extern rtx m68k_function_value (tree, tree);
|
55 |
|
|
extern int emit_move_sequence (rtx *, enum machine_mode, rtx);
|
56 |
|
|
|
57 |
|
|
#endif /* RTX_CODE */
|
58 |
|
|
|
59 |
|
|
extern bool m68k_regno_mode_ok (int, enum machine_mode);
|
60 |
|
|
extern int flags_in_68881 (void);
|
61 |
|
|
extern bool use_return_insn (void);
|
62 |
|
|
extern void override_options (void);
|
63 |
|
|
extern void init_68881_table (void);
|
64 |
|
|
extern int m68k_hard_regno_rename_ok(unsigned int, unsigned int);
|