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