1 |
709 |
jeremybenn |
/* Definitions of target machine for GNU compiler, for the pdp-11
|
2 |
|
|
Copyright (C) 2000, 2003, 2004, 2007, 2009, 2010
|
3 |
|
|
Free Software Foundation, Inc.
|
4 |
|
|
Contributed by Michael K. Gschwind (mike@vlsivie.tuwien.ac.at).
|
5 |
|
|
|
6 |
|
|
This file is part of GCC.
|
7 |
|
|
|
8 |
|
|
GCC is free software; you can redistribute it and/or modify
|
9 |
|
|
it under the terms of the GNU General Public License as published by
|
10 |
|
|
the Free Software Foundation; either version 3, or (at your option)
|
11 |
|
|
any later version.
|
12 |
|
|
|
13 |
|
|
GCC is distributed in the hope that it will be useful,
|
14 |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
16 |
|
|
GNU General Public 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 |
|
|
/* declarations */
|
23 |
|
|
#ifdef RTX_CODE
|
24 |
|
|
extern int simple_memory_operand (rtx, enum machine_mode);
|
25 |
|
|
|
26 |
|
|
extern int legitimate_const_double_p (rtx);
|
27 |
|
|
extern void notice_update_cc_on_set (rtx, rtx);
|
28 |
|
|
extern void output_addr_const_pdp11 (FILE *, rtx);
|
29 |
|
|
extern const char *output_move_multiple (rtx *);
|
30 |
|
|
extern const char *output_block_move (rtx *);
|
31 |
|
|
extern const char *output_jump (enum rtx_code, int, int);
|
32 |
|
|
extern void print_operand_address (FILE *, rtx);
|
33 |
|
|
extern bool pdp11_cannot_change_mode_class (enum machine_mode,
|
34 |
|
|
enum machine_mode, enum reg_class);
|
35 |
|
|
extern bool pdp11_secondary_memory_needed (reg_class_t, reg_class_t,
|
36 |
|
|
enum machine_mode);
|
37 |
|
|
typedef enum { no_action, dec_before, inc_after } pdp11_action;
|
38 |
|
|
typedef enum { little, either, big } pdp11_partorder;
|
39 |
|
|
extern bool pdp11_expand_operands (rtx *, rtx [][2], int,
|
40 |
|
|
pdp11_action *, pdp11_partorder);
|
41 |
|
|
extern int pdp11_sp_frame_offset (void);
|
42 |
|
|
extern int pdp11_initial_elimination_offset (int, int);
|
43 |
|
|
extern enum reg_class pdp11_regno_reg_class (int);
|
44 |
|
|
|
45 |
|
|
#endif /* RTX_CODE */
|
46 |
|
|
|
47 |
|
|
extern void output_ascii (FILE *, const char *, int);
|
48 |
|
|
extern void pdp11_asm_output_var (FILE *, const char *, int, int, bool);
|
49 |
|
|
extern void pdp11_expand_prologue (void);
|
50 |
|
|
extern void pdp11_expand_epilogue (void);
|