OLD | NEW |
1 /* Subroutines for insn-output.c for Motorola 68000 family. | 1 /* Subroutines for insn-output.c for Motorola 68000 family. |
2 Copyright (C) 1987, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | 2 Copyright (C) 1987, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, |
3 2001, 2003, 2004, 2005, 2006, 2007, 2008 | 3 2001, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
4 Free Software Foundation, Inc. | 4 Free Software Foundation, Inc. |
5 | 5 |
6 This file is part of GCC. | 6 This file is part of GCC. |
7 | 7 |
8 GCC is free software; you can redistribute it and/or modify | 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 | 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) | 10 the Free Software Foundation; either version 3, or (at your option) |
11 any later version. | 11 any later version. |
12 | 12 |
13 GCC is distributed in the hope that it will be useful, | 13 GCC is distributed in the hope that it will be useful, |
(...skipping 25 matching lines...) Expand all Loading... |
39 #include "reload.h" | 39 #include "reload.h" |
40 #include "tm_p.h" | 40 #include "tm_p.h" |
41 #include "target.h" | 41 #include "target.h" |
42 #include "target-def.h" | 42 #include "target-def.h" |
43 #include "debug.h" | 43 #include "debug.h" |
44 #include "flags.h" | 44 #include "flags.h" |
45 #include "df.h" | 45 #include "df.h" |
46 /* ??? Need to add a dependency between m68k.o and sched-int.h. */ | 46 /* ??? Need to add a dependency between m68k.o and sched-int.h. */ |
47 #include "sched-int.h" | 47 #include "sched-int.h" |
48 #include "insn-codes.h" | 48 #include "insn-codes.h" |
| 49 #include "ggc.h" |
49 | 50 |
50 enum reg_class regno_reg_class[] = | 51 enum reg_class regno_reg_class[] = |
51 { | 52 { |
52 DATA_REGS, DATA_REGS, DATA_REGS, DATA_REGS, | 53 DATA_REGS, DATA_REGS, DATA_REGS, DATA_REGS, |
53 DATA_REGS, DATA_REGS, DATA_REGS, DATA_REGS, | 54 DATA_REGS, DATA_REGS, DATA_REGS, DATA_REGS, |
54 ADDR_REGS, ADDR_REGS, ADDR_REGS, ADDR_REGS, | 55 ADDR_REGS, ADDR_REGS, ADDR_REGS, ADDR_REGS, |
55 ADDR_REGS, ADDR_REGS, ADDR_REGS, ADDR_REGS, | 56 ADDR_REGS, ADDR_REGS, ADDR_REGS, ADDR_REGS, |
56 FP_REGS, FP_REGS, FP_REGS, FP_REGS, | 57 FP_REGS, FP_REGS, FP_REGS, FP_REGS, |
57 FP_REGS, FP_REGS, FP_REGS, FP_REGS, | 58 FP_REGS, FP_REGS, FP_REGS, FP_REGS, |
58 ADDR_REGS | 59 ADDR_REGS |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 static int m68k_sched_adjust_cost (rtx, rtx, rtx, int); | 125 static int m68k_sched_adjust_cost (rtx, rtx, rtx, int); |
125 static int m68k_sched_issue_rate (void); | 126 static int m68k_sched_issue_rate (void); |
126 static int m68k_sched_variable_issue (FILE *, int, rtx, int); | 127 static int m68k_sched_variable_issue (FILE *, int, rtx, int); |
127 static void m68k_sched_md_init_global (FILE *, int, int); | 128 static void m68k_sched_md_init_global (FILE *, int, int); |
128 static void m68k_sched_md_finish_global (FILE *, int); | 129 static void m68k_sched_md_finish_global (FILE *, int); |
129 static void m68k_sched_md_init (FILE *, int, int); | 130 static void m68k_sched_md_init (FILE *, int, int); |
130 static void m68k_sched_dfa_pre_advance_cycle (void); | 131 static void m68k_sched_dfa_pre_advance_cycle (void); |
131 static void m68k_sched_dfa_post_advance_cycle (void); | 132 static void m68k_sched_dfa_post_advance_cycle (void); |
132 static int m68k_sched_first_cycle_multipass_dfa_lookahead (void); | 133 static int m68k_sched_first_cycle_multipass_dfa_lookahead (void); |
133 | 134 |
| 135 static bool m68k_can_eliminate (const int, const int); |
| 136 static bool m68k_legitimate_address_p (enum machine_mode, rtx, bool); |
134 static bool m68k_handle_option (size_t, const char *, int); | 137 static bool m68k_handle_option (size_t, const char *, int); |
135 static rtx find_addr_reg (rtx); | 138 static rtx find_addr_reg (rtx); |
136 static const char *singlemove_string (rtx *); | 139 static const char *singlemove_string (rtx *); |
137 #ifdef M68K_TARGET_COFF | |
138 static void m68k_coff_asm_named_section (const char *, unsigned int, tree); | |
139 #endif /* M68K_TARGET_COFF */ | |
140 static void m68k_output_mi_thunk (FILE *, tree, HOST_WIDE_INT, | 140 static void m68k_output_mi_thunk (FILE *, tree, HOST_WIDE_INT, |
141 HOST_WIDE_INT, tree); | 141 HOST_WIDE_INT, tree); |
142 static rtx m68k_struct_value_rtx (tree, int); | 142 static rtx m68k_struct_value_rtx (tree, int); |
143 static tree m68k_handle_fndecl_attribute (tree *node, tree name, | 143 static tree m68k_handle_fndecl_attribute (tree *node, tree name, |
144 tree args, int flags, | 144 tree args, int flags, |
145 bool *no_add_attrs); | 145 bool *no_add_attrs); |
error: old chunk mismatch |
None
OLD | NEW |