comparison gcc/config/pdp11/pdp11-protos.h @ 67:f6334be47118

update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
date Tue, 22 Mar 2011 17:18:12 +0900
parents 77e2b8dfacca
children 04ced10e8804
comparison
equal deleted inserted replaced
65:65488c3d617d 67:f6334be47118
1 /* Definitions of target machine for GNU compiler, for the pdp-11 1 /* Definitions of target machine for GNU compiler, for the pdp-11
2 Copyright (C) 2000, 2003, 2004, 2007 Free Software Foundation, Inc. 2 Copyright (C) 2000, 2003, 2004, 2007, 2009, 2010
3 Free Software Foundation, Inc.
3 Contributed by Michael K. Gschwind (mike@vlsivie.tuwien.ac.at). 4 Contributed by Michael K. Gschwind (mike@vlsivie.tuwien.ac.at).
4 5
5 This file is part of GCC. 6 This file is part of GCC.
6 7
7 GCC is free software; you can redistribute it and/or modify 8 GCC is free software; you can redistribute it and/or modify
18 along with GCC; see the file COPYING3. If not see 19 along with GCC; see the file COPYING3. If not see
19 <http://www.gnu.org/licenses/>. */ 20 <http://www.gnu.org/licenses/>. */
20 21
21 /* declarations */ 22 /* declarations */
22 #ifdef RTX_CODE 23 #ifdef RTX_CODE
23 extern int arith_operand (rtx, enum machine_mode);
24 extern int const_immediate_operand (rtx, enum machine_mode);
25 extern int expand_shift_operand (rtx, enum machine_mode);
26 extern int immediate15_operand (rtx, enum machine_mode);
27 extern int simple_memory_operand (rtx, enum machine_mode); 24 extern int simple_memory_operand (rtx, enum machine_mode);
28 25
29 extern int legitimate_const_double_p (rtx); 26 extern int legitimate_const_double_p (rtx);
30 extern void notice_update_cc_on_set (rtx, rtx); 27 extern void notice_update_cc_on_set (rtx, rtx);
31 extern void output_addr_const_pdp11 (FILE *, rtx); 28 extern void output_addr_const_pdp11 (FILE *, rtx);
32 extern const char *output_move_double (rtx *); 29 extern const char *output_move_multiple (rtx *);
33 extern const char *output_move_quad (rtx *);
34 extern const char *output_block_move (rtx *); 30 extern const char *output_block_move (rtx *);
35 extern const char *output_jump (enum rtx_code, int, int); 31 extern const char *output_jump (enum rtx_code, int, int);
36 extern void print_operand_address (FILE *, rtx); 32 extern void print_operand_address (FILE *, rtx);
37 extern int register_move_cost (enum reg_class, enum reg_class); 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_initial_elimination_offset (int, int);
42 extern enum reg_class pdp11_regno_reg_class (int);
43
38 #endif /* RTX_CODE */ 44 #endif /* RTX_CODE */
39 45
40 extern void output_ascii (FILE *, const char *, int); 46 extern void output_ascii (FILE *, const char *, int);
47 extern void pdp11_asm_output_var (FILE *, const char *, int, int, bool);