1 |
399 |
jeremybenn |
2010-10-29 Joern Rennecke
|
2 |
|
|
|
3 |
|
|
* config/or32/or32.c (or32_output_mi_thunk): New function.
|
4 |
|
|
(or32_output_highadd, or32_output_tailcall): Likewise.
|
5 |
|
|
(TARGET_ASM_OUTPUT_MI_THUNK): Redefine.
|
6 |
|
|
(TARGET_ASM_CAN_OUTPUT_MI_THUNK): Likewise.
|
7 |
|
|
|
8 |
|
|
(or32_output_mi_thunk): Don't emit add of zero delta.
|
9 |
|
|
|
10 |
|
|
* config/or32/or32.opt: Remove -maj option.
|
11 |
|
|
* config/or32/or32.md, config/or32/or32.c: Likewise.
|
12 |
|
|
|
13 |
|
|
* config.gcc: Add Embecosm Copyright notice.
|
14 |
|
|
* config/or32/predicates.md: Likewise.
|
15 |
|
|
* config/or32/or32.md: Likewise.
|
16 |
|
|
* config/or32/t-or32: Likewise.
|
17 |
|
|
* config/or32/or32.opt: Likewise.
|
18 |
|
|
* config/or32/or32-protos.h: Likewise.
|
19 |
|
|
* config/or32/crti.S: Likewise.
|
20 |
|
|
* config/or32/or32.c: Likewise.
|
21 |
|
|
* config/or32/constraints.md: Likewise.
|
22 |
|
|
* config/or32/crtn.S: Likewise.
|
23 |
|
|
* config/or32/default.h: Likewise.
|
24 |
|
|
* config/or32/or32.h: Likewise.
|
25 |
|
|
|
26 |
|
|
2010-10-28 Joern Rennecke
|
27 |
|
|
|
28 |
|
|
* config/or32/or32.md (movsi_lo_sum, movsi_high): Enable generator
|
29 |
|
|
function generation.
|
30 |
|
|
(movsi_insn_big): Now define_insn_and_split.
|
31 |
|
|
|
32 |
|
|
* config.gcc (or32-*-elf*): Change extra_parts to:
|
33 |
|
|
"crti.o crtbegin.o crtend.o crtn.o".
|
34 |
|
|
( or32-*linux*): Change tmake_file to
|
35 |
|
|
"${cpu_type}/t-${cpu_type} or32/t-linux"
|
36 |
|
|
* config/or32/t-default, config/or32/initfini.c: Delete.
|
37 |
|
|
* t-or32 ((T)or32-crtbegin.o, $(T)or32-crtend.o): Replace with:
|
38 |
|
|
((T)crti.o, $(T)crtn.o).
|
39 |
|
|
* config/or32/t-linux: New file.
|
40 |
|
|
* config/or32/crti.S, config/or32/crtn.S: Likewise.
|
41 |
|
|
* config/or32/or32.h (STARTFILE_SPEC): Replace or32-crtbegin.o%s with
|
42 |
|
|
crti.o%s crtbegin.o%s.
|
43 |
|
|
(ENDFILE_SPEC): Set to crtend.o%s crtn.o%s.
|
44 |
|
|
|
45 |
|
|
* config/or32/elf.h (DBX_DEBUGGING_INFO): Don't redefine.
|
46 |
|
|
(PREFERRED_DEBUGGING_TYPE, PUT_SDB_DEF): Likewise.
|
47 |
|
|
|
48 |
|
|
* config/or32/or32.md (tablejump): For -fpic, emit add of table base.
|
49 |
|
|
|
50 |
|
|
2010-10-26 Joern Rennecke
|
51 |
|
|
|
52 |
|
|
* config.gcc (or32-*-elf*): Rename crtinit.o / crtfini.o
|
53 |
|
|
to or32-crtbegin.o / or32-crtend.o.
|
54 |
|
|
* config/or32/t-default, config/or32/t-or32 (Entire file): Likewise.
|
55 |
|
|
* config/or32/initfini.c, config/or32/or32.h: Likewise.
|
56 |
|
|
|
57 |
|
|
2010-10-26 Joern Rennecke
|
58 |
|
|
|
59 |
|
|
* config/or32/or32.opt Mask(MASK_SCHED_LOGUE): Renamed to
|
60 |
|
|
Mask(SCHED_LOGUE). Changed all users.
|
61 |
|
|
(-msibcall): Delete option.
|
62 |
|
|
* config/or32/or32.md (sibcall, sibcall_value, sibcall_internal): Make
|
63 |
|
|
patterns unconditional.
|
64 |
|
|
(sibcall_internal): Change alternatives to handle callee-saved
|
65 |
|
|
registers correctly.
|
66 |
|
|
* config/or32/or32.c (or32_compute_frame_size): Place register save
|
67 |
|
|
area at bottom of frame.
|
68 |
|
|
(or32_expand_prologue): Initialize frame pointer from stack pointer.
|
69 |
|
|
For large offsets, add a REG_FRAME_RELATED_EXPR note.
|
70 |
|
|
(or32_expand_epilogue): Restore stack pointer from frame pointer.
|
71 |
|
|
sibcall is now the sibcall epilogue insn to be split.
|
72 |
|
|
(or32_compute_frame_size, or32_expand_prologue, or32_expand_epilogue):
|
73 |
|
|
Use PROLOGUE_TMP and EPILOGUE_TMP.
|
74 |
|
|
(or32_function_ok_for_sibcall): Retrun true.
|
75 |
|
|
(TARGET_DEFAULT_TARGET_FLAGS): Include MASK_SCHED_LOGUE.
|
76 |
|
|
(STATIC_CHAIN_REGNUM): Change to GP_ARG_RETURNH.
|
77 |
|
|
(PROLOGUE_TMP, EPILOGUE_TMP): Define.
|
78 |
|
|
* config/or32/or32.md (CC_REG): New constant. Use it to denote
|
79 |
|
|
register number of flags register.
|
80 |
|
|
Include constraints.md.
|
81 |
|
|
* config/or32/predicates.md (cc_reg_operand): Use CC_REG.
|
82 |
|
|
(input_operand): Use satisfies_constraint_[KMI].
|
83 |
|
|
* config/or32/or32-protos.h (or32_initial_elimination_offset): Declare.
|
84 |
|
|
(or32_print_jump_restore): Declare.
|
85 |
|
|
* config/or32/or32.h (OR32_LAST_ACTUAL_REG): Define. Use in place of
|
86 |
|
|
OR32_LAST_INT_REG to iterate through registers where appropriate.
|
87 |
|
|
(ELIMINABLE_REGS, INITIAL_ELIMINATION_OFFSET): Define.
|
88 |
|
|
(ARG_POINTER_REGNUM, FRAME_POINTER_REGNUM): Define as fake hard
|
89 |
|
|
registers.
|
90 |
|
|
(FIXED_REGISTERS, CALL_USED_REGISTERS, REG_CLASS_CONTENTS): Update.
|
91 |
|
|
(REGNO_REG_CLASS, REGISTER_NAMES): : Likewise.
|
92 |
|
|
* config/or32/or32.c: Use HARD_FRAME_POINTER_REGNUM /
|
93 |
|
|
hard_frame_pointer_rtx to refer to the hard frame pointer.
|
94 |
|
|
(or32_emit_move): Now static.
|
95 |
|
|
(or32_print_jump_restore): New function.
|
96 |
|
|
(or32_compute_frame_size): Distinguish between saving the hard frame
|
97 |
|
|
pointer and saving the GPR with the regno of the eliminated frame
|
98 |
|
|
pointer.
|
99 |
|
|
(indexed_memory): Delete.
|
100 |
|
|
(stack_disp_mem): New function.
|
101 |
|
|
(or32_compute_frame_size): Avoid over-wide shifts.
|
102 |
|
|
(or32_output_function_prologue): Likewise.
|
103 |
|
|
(or32_output_function_epilogue): Likewise.
|
104 |
|
|
(or32_frame_pointer_required): Comment out.
|
105 |
|
|
(or32_initial_elimination_offset): New function.
|
106 |
|
|
(TARGET_FRAME_POINTER_REQUIRED): Don't redefine.
|
107 |
|
|
(PRINT_OPERAND): Handle %J.
|
108 |
|
|
* config/or32/constraints.md: New file.
|
109 |
|
|
|
110 |
|
|
2010-10-25 Joern Rennecke
|
111 |
|
|
|
112 |
|
|
* config/or32/or32-protos.h (get_hard_reg_initial_val): Declare.
|
113 |
|
|
* config/or32/or32.h (INCOMING_RETURN_ADDR_RTX): Fix register number.
|
114 |
|
|
* (RETURN_ADDR_RTX): Define.
|
115 |
|
|
|
116 |
|
|
2010-10-12 Joern Rennecke
|
117 |
|
|
|
118 |
|
|
* config/or32/or32.c (or32_struct_alignment): Round up alignment to
|
119 |
|
|
power of two.
|
120 |
|
|
|
121 |
|
|
For unions, use maximum of field size for size estimate.
|
122 |
|
|
|
123 |
|
|
2010-10-11 Joern Rennecke
|
124 |
|
|
|
125 |
|
|
* config/or32/or32.opt (mpadstruct): New option.
|
126 |
|
|
* config/or32/or32-protos.h (or32_struct_alignment): Declare.
|
127 |
|
|
(or32_data_alignment): Likewise.
|
128 |
|
|
* config/or32/or32.c (or32_struct_alignment): New function.
|
129 |
|
|
(or32_data_alignment): Likewise.
|
130 |
|
|
* config/or32/or32.h (STRUCTURE_SIZE_BOUNDARY): Default to 8.
|
131 |
|
|
(ROUND_TYPE_ALIGN, DATA_ALIGNMENT, LOCAL_ALIGNMEN): Define.
|
132 |
|
|
|
133 |
|
|
* config/or32/or32.c (or32_struct_alignment): Take
|
134 |
|
|
maximum_field_alignment into account.
|
135 |
|
|
|
136 |
|
|
2010-09-14 Joern Rennecke
|
137 |
|
|
|
138 |
|
|
* config/or32/or32.h (ASM_OUTPUT_ADDR_DIFF_ELT): Fix typo.
|
139 |
|
|
(JUMP_TABLES_IN_TEXT_SECTION): Define.
|
140 |
|
|
* config/or32/default.h (JUMP_TABLES_IN_TEXT_SECTION): Use flag_pic.
|
141 |
|
|
|
142 |
|
|
2010-09-13 Joern Rennecke
|
143 |
|
|
|
144 |
|
|
* config/or32/or32.h (TRAMPOLINE_SIZE): Use result of
|
145 |
|
|
or32_trampoline_code_size rather than its address.
|
146 |
|
|
|
147 |
|
|
* config/or32/initfini.c (init): Rename to:
|
148 |
|
|
(__init).
|
149 |
|
|
* config/or32/or32.c (or32_trampoline_init): Don't clobber r12.
|
150 |
|
|
|
151 |
|
|
* config.gcc (or32-*-elf*): Add newlib-stdint.h to tm_file.
|
152 |
|
|
|
153 |
334 |
jeremybenn |
2010-09-05 Jeremy Bennett
|
154 |
|
|
|
155 |
336 |
jeremybenn |
* BASE_VER: Updated for gcc-4.5.1-or32-1.0rc1.
|
156 |
335 |
jeremybenn |
|
157 |
|
|
2010-09-05 Jeremy Bennett
|
158 |
|
|
|
159 |
334 |
jeremybenn |
* config/or32/or32-protos.c : Added.
|
160 |
|
|
* config/or32/or32.c : Added.
|
161 |
|
|
* config/or32/or32.h : Deleted.
|
162 |
|
|
* doc/contrib.texi: Updated for OpenRISC.
|
163 |
|
|
* doc/invoke.texi: Updated for OpenRISC.
|
164 |
|
|
|
165 |
332 |
jeremybenn |
2010-09-04 Jeremy Bennett
|
166 |
|
|
|
167 |
|
|
* config/or32/or32-protos.c : Added.
|
168 |
|
|
* config/or32/or32.c :
|
169 |
|
|
New macros added.
|
170 |
|
|
(or32_emit_mode, or32_emit_binary, or32_force_binary)
|
171 |
|
|
(or32_trampoline_code_size, or32_trampoline_init): Created.
|
172 |
|
|
(or32_output_bf): Tabbing fixed.
|
173 |
|
|
: Definition added.
|
174 |
|
|
* config/or32/or32.h : Uses R11.
|
175 |
|
|
: redefined.
|
176 |
|
|
: Added definition.
|
177 |
|
|
|
178 |
280 |
jeremybenn |
2010-09-01 Jeremy Bennett
|
179 |
|
|
|
180 |
|
|
* haifa-sched.c (initiate_bb_reg_pressure_info): Declaration of i
|
181 |
|
|
made conditional to avoid warning.
|
182 |
|
|
* or32.c: Updated for compatibility with GCC 4.5.1. Redundant
|
183 |
|
|
functions remobed. Now contains all target hooks.
|
184 |
|
|
* or32.h: Complete rewrite for compatibility with GCC
|
185 |
|
|
4.5.1. Removed all target hooks.
|
186 |
|
|
* or32.md: Rewrite for compatibility with GCC 4.5.1.
|
187 |
|
|
* or32-protos.h: Updated to match or32.c.
|
188 |
|
|
|
189 |
|
|
2010-09-01 Jeremy Bennett
|
190 |
|
|
|
191 |
|
|
* .: All files updated to GCC 4.5.1 base.
|
192 |
|
|
|
193 |
|
|
2010-08-26 mirekez
|
194 |
|
|
|
195 |
|
|
* config/or32/or32.h : CR_REGS removed from
|
196 |
|
|
enumeration.
|
197 |
|
|
|
198 |
|
|
2010-08-26 Jeremy Bennett
|
199 |
|
|
|
200 |
|
|
* vec.h: All references to VEC_TA_GTY with an empty fourth
|
201 |
|
|
argument replaced by VEC_TA_GTY_ANON with only three arguments
|
202 |
|
|
: Created.
|
203 |
|
|
|
204 |
|
|
2010-08-25 Jeremy Bennett
|
205 |
|
|
|
206 |
|
|
* config/or32/elf.h : Defined.
|
207 |
|
|
: Changed to DWARF2_DEBUG.
|
208 |
|
|
: Deleted.
|
209 |
|
|
* config/or32/or32.h: Obsolete code surrounded by "#if 0" removed
|
210 |
|
|
for clarity.
|
211 |
|
|
: Definition deleted.
|
212 |
|
|
:
|
213 |
|
|
Definition deleted (default suffices).
|
214 |
|
|
: Defined.
|
215 |
|
|
: Defined.
|
216 |
|
|
* config/or32/or32.md: Commenting clarified. Obsolete code for
|
217 |
|
|
define_function_unit deleted.
|
218 |
|
|
|
219 |
|
|
2010-08-19 Jeremy Bennett
|
220 |
|
|
|
221 |
|
|
* config/or32/elf.h : Definition removed.
|
222 |
|
|
: Modified to match or32.h
|
223 |
|
|
* config/or32/linux-elf.h: Modified to match
|
224 |
|
|
or32.h
|
225 |
|
|
* config/or32/or32.h : Changed to use free instead of
|
226 |
|
|
_free to match change in USER_LABEL_PREFIX.
|
227 |
|
|
: Changed from "_" to "".
|
228 |
|
|
: Surround .proc by tab chars.
|
229 |
|
|
* config/or32/or32.S (__mulsi3, __udivsi3, __divsi3, __umodsi3)
|
230 |
|
|
(__modsi3): Changed from ___mulsi3, ___udivsi3, ___divsi3,
|
231 |
|
|
___umodsi3 and ___modsi3 respectively to match change in
|
232 |
|
|
USER_LABEL_PREFIX.
|
233 |
|
|
|
234 |
|
|
2010-07-20 Jeremy Bennett
|
235 |
|
|
|
236 |
|
|
* config/or32/or32.h: Updated LIB_SPEC for newlib 1.18.0 to force
|
237 |
|
|
linking of _malloc and _free against a weak reference also when
|
238 |
|
|
using -lg.
|
239 |
|
|
|
240 |
|
|
2010-07-19 Jeremy Bennett
|
241 |
|
|
|
242 |
|
|
* config/or32/or32.h: Updated LIB_SPEC for newlib 1.18.0 to force
|
243 |
|
|
linking of _malloc and _free against a weak reference.
|
244 |
|
|
|
245 |
|
|
2010-07-17 Jeremy Bennett
|
246 |
|
|
|
247 |
|
|
* config/or32/or32.h: Updated STARTFILE_SPEC and LIB_SPEC
|
248 |
|
|
definition for newlib.
|
249 |
|
|
|
250 |
|
|
2010-07-16 Jeremy Bennett
|
251 |
|
|
|
252 |
|
|
* config/or32/or32.h: Updated SPEC definitions to pick up newlib
|
253 |
|
|
in custom location.
|
254 |
|
|
|
255 |
|
|
2010-07-13 Jeremy Bennett
|
256 |
|
|
|
257 |
|
|
* config/or32/initfini.c: Corrected assembler sequences.
|
258 |
|
|
|
259 |
|
|
2010-07-07 Jeremy Bennett
|
260 |
|
|
|
261 |
|
|
* config.gcc: Specified cpu_type for or32. Corrected templates
|
262 |
|
|
specified for or32-*-elf*. Added extra_parts for
|
263 |
|
|
or32-*-elf*. Specified t-or32 as tmake_file for or32-*-elf*.
|
264 |
|
|
* config/or32/initfini.c: Created.
|
265 |
|
|
* config/or32/or32.h : Removed.
|
266 |
|
|
: Add crtinit.o.
|
267 |
|
|
: Just specify crtfini.o.
|
268 |
|
|
: Unified multiple definitions. Added newlib library
|
269 |
|
|
when specified.
|
270 |
|
|
* config/or32/or32.opt : New option added.
|
271 |
|
|
* config/or32/t-default: Added details for crtinit and crtfini.
|
272 |
|
|
* config/or32/t-or32: Added details for crtinit and crtfini.
|
273 |
|
|
|
274 |
|
|
2010-06-30 Jeremy Bennett
|
275 |
|
|
|
276 |
|
|
* config/or32/or32.h : Corrected definition.
|
277 |
|
|
: Pick up newlib specific linker script.
|
278 |
|
|
: Specify newlib library.
|
279 |
|
|
* config/or32/or32.opt : New option added.
|
280 |
|
|
|
281 |
|
|
2010-06-21 Jeremy Bennett
|
282 |
|
|
|
283 |
|
|
* config/or32/or32.md: Duplicate define_insn of "movdf" and "movsf"
|
284 |
|
|
removed.
|
285 |
|
|
|
286 |
|
|
2010-06-17 Jungsook yang
|
287 |
|
|
|
288 |
|
|
* config/or32/or32.c (or32_expand_branch): Added SFmode case.
|
289 |
|
|
* config/or32/or32.md : Added.
|
290 |
|
|
: Added.
|
291 |
|
|
: Added.
|
292 |
|
|
: Added.
|
293 |
|
|
: Added.
|
294 |
|
|
: Added.
|
295 |
|
|
: Added.
|
296 |
|
|
: Added.
|
297 |
|
|
: Added.
|
298 |
|
|
: Added TARGET_DOUBLE_FLOAT.
|
299 |
|
|
: Added TARGET_DOUBLE_FLOAT.
|
300 |
|
|
: Added TARGET_DOUBLE_FLOAT.
|
301 |
|
|
: Added TARGET_DOUBLE_FLOAT.
|
302 |
|
|
: Added.
|
303 |
|
|
: Added.
|
304 |
|
|
: Added.
|
305 |
|
|
: Added.
|
306 |
|
|
* config/or32/or32.opt: mdouble-float option added.
|
307 |
|
|
|