1 |
12 |
jlechner |
2010-02-19 Martin Walter
|
2 |
|
|
|
3 |
|
|
* t-scarts16: migrated libgcc2 functions:
|
4 |
|
|
div.c, divdi.c, fixfloat.c, moddi.c, muldi.c, udivdi.c, umoddi.c
|
5 |
|
|
|
6 |
|
|
2010-02-17 Martin Walter
|
7 |
|
|
|
8 |
|
|
* scarts16.h: removed stabs debugging format
|
9 |
|
|
* scarts16.h: added DWARF 2 debugging format
|
10 |
|
|
* scarts16.c: implemented DWARF 2 debugging format
|
11 |
|
|
|
12 |
|
|
2009-07-16 Martin Walter
|
13 |
|
|
|
14 |
|
|
* scarts16.h: added builtin definition "__SCARTS16__"
|
15 |
|
|
* scarts16.h: prepended section names with ".section"
|
16 |
|
|
* scarts16.h: changed ASM_DECLARE_FUNCTION_NAME to produce more
|
17 |
|
|
ELF-ish assembler code (added .global and .type)
|
18 |
|
|
* scarts16.h: added ASM_DECLARE_FUNCTION_SIZE
|
19 |
|
|
* scarts16.h: defined GLOBAL_ASM_OP; its absence rendered all
|
20 |
|
|
symbols local in the object file
|
21 |
|
|
* scarts16.h: changed .align to .p2align in ASM_OUTPUT_ALIGN
|
22 |
|
|
for the sake of clearness
|
23 |
|
|
* scarts16.h: added "-lnosys" to LIB_SPEC; libnosys.a is newlib's
|
24 |
|
|
syscall interface for SCARTS and needed by libc.a
|
25 |
|
|
* scarts16.h: removed ENDFILE_SPEC, since all crtend0.o contained
|
26 |
|
|
is now handled by linker scripts
|
27 |
|
|
* scarts16.c: removed CPP-macros and C-style comments to produce
|
28 |
|
|
assembly code that does not require CPP-ing
|
29 |
|
|
* scarts16.c: replaced TARGET_ASM_INTEGER by proper definitions of
|
30 |
|
|
TARGET_ASM_(BYTE|HI|SI|DI)_OP (both aligned and unaligned)
|
31 |
|
|
* scarts16.c: fixed bug: integer comparisons against const char *
|
32 |
|
|
scarts16_codesize and scarts16_datasize were relaced with
|
33 |
|
|
their long integer interpretations
|
34 |
|
|
* scarts16.c: changed feasible distance for branches from [-512; 511]
|
35 |
|
|
to [-256; 511] since this is the maximum range that the GNU
|
36 |
|
|
assembler can store in the 10-bit signed immediate of jmpi*
|
37 |
|
|
instructions
|
38 |
|
|
|
39 |
|
|
2009-06-02 Martin Walter
|
40 |
|
|
|
41 |
|
|
* config.gcc: added GNU as/ld and newlib specific options
|
42 |
|
|
|
43 |
|
|
2007-08-22 Wolfgang Puffitsch
|
44 |
|
|
|
45 |
|
|
* scarts16.c (scarts16_output_function_prologue): fixed handling for
|
46 |
|
|
interrupt functions
|
47 |
|
|
(scarts16_output_function_epilogue): same here
|
48 |
|
|
|
49 |
|
|
2007-08-15 Wolfgang Puffitsch
|
50 |
|
|
|
51 |
|
|
* scarts16.h: forked 16-bit version from 32-bit version
|
52 |
|
|
|
53 |
|
|
* scarts16.c: same here
|
54 |
|
|
|
55 |
|
|
* scarts16.md: same here
|
56 |
|
|
|
57 |
|
|
########################################################################
|
58 |
|
|
# release "Zen Arcade" #
|
59 |
|
|
########################################################################
|
60 |
|
|
|
61 |
|
|
2005-11-18 Wolfgang Puffitsch
|
62 |
|
|
|
63 |
|
|
* scarts.md ("modqi3", "umodqi3"): added these patterns again, as
|
64 |
|
|
the library functions were fixed.
|
65 |
|
|
|
66 |
|
|
########################################################################
|
67 |
|
|
# release "Metal Circus" #
|
68 |
|
|
########################################################################
|
69 |
|
|
|
70 |
|
|
2005-09-29 Wolfgang Puffitsch
|
71 |
|
|
|
72 |
|
|
* scarts.c (scarts_output_function_prologue): redesigned prologues
|
73 |
|
|
for signals and interrupts, now pre-decrement stack pointer so we
|
74 |
|
|
are safe in case of interrupts
|
75 |
|
|
(scarts_output_function_epilogue): likewise
|
76 |
|
|
|
77 |
|
|
* scarts.md ("mulsi3", "divsi3", "udivsi3"): changed patterns so
|
78 |
|
|
that stack pointer is incremented/decremented and we are safe in
|
79 |
|
|
case of interrupts
|
80 |
|
|
|
81 |
|
|
2005-08-11 Wolfgang Puffitsch
|
82 |
|
|
|
83 |
|
|
* scarts.c: removed a few unnecessary add's when loading from
|
84 |
|
|
memory with a small offset
|
85 |
|
|
|
86 |
|
|
2005-08-06 Wolfgang Puffitsch
|
87 |
|
|
|
88 |
|
|
* scarts.c (frame_pointer_required_p): fixed a bug with args passed
|
89 |
|
|
in memory
|
90 |
|
|
|
91 |
|
|
2005-07-31 Wolfgang Puffitsch
|
92 |
|
|
|
93 |
|
|
* scarts-run.c (execute): fixed a little bug with overflows in
|
94 |
|
|
stofX and ldofX.
|
95 |
|
|
|
96 |
|
|
* scarts.c (frame_pointer_required_p): relaxed the requirements for
|
97 |
|
|
the framepointer
|
98 |
|
|
(initial_elimination_offset): adapted to new version of
|
99 |
|
|
frame_pointer_required_p
|
100 |
|
|
|
101 |
|
|
2005-06-30 Wolfgang Puffitsch
|
102 |
|
|
|
103 |
|
|
* scarts.c (legitimate_address_p): fixed behaviour for registers
|
104 |
|
|
when being strict
|
105 |
|
|
|
106 |
|
|
2005-06-28 Wolfgang Puffitsch
|
107 |
|
|
|
108 |
|
|
* scarts.h (RETURN_ADDR_RTX): fixed this macro
|
109 |
|
|
|
110 |
|
|
2005-03-29 Wolfgang Puffitsch
|
111 |
|
|
|
112 |
|
|
* scarts.md ("lshrsi1"): fixed bug that caused logical shifts to be
|
113 |
|
|
done as arithmetic shifts for SImode values
|
114 |
|
|
|
115 |
|
|
2005-03-14 Wolfgang Puffitsch
|
116 |
|
|
|
117 |
|
|
* scarts.c (frame_pointer_required_p): now returning that frame
|
118 |
|
|
pointer is always needed
|
119 |
|
|
|
120 |
|
|
2005-02-25 Wolfgang Puffitsch
|
121 |
|
|
|
122 |
|
|
* scarts.md: commented out modXX patterns, because the library
|
123 |
|
|
functions are broken
|
124 |
|
|
|
125 |
|
|
2005-02-24 Wolfgang Puffitsch
|
126 |
|
|
|
127 |
|
|
* scarts.h (FUNCTION_PROFILER): added newline to output
|
128 |
|
|
|
129 |
|
|
* scarts.c (scarts_unique_section): changed this function to avoid
|
130 |
|
|
internal errors
|
131 |
|
|
|
132 |
|
|
2005-02-23 Wolfgang Puffitsch
|
133 |
|
|
|
134 |
|
|
* scarts.c (scarts_function_value): now returning BLKmode value
|
135 |
|
|
always in memory which is less efficient but on the safe side
|
136 |
|
|
regarding bugs in the compiler
|
137 |
|
|
|
138 |
|
|
* scarts.h (ASM_OUTPUT_LABELREF): added this macro so a label
|
139 |
|
|
called "data" cannot collide with the mnemonic of the same name
|
140 |
|
|
(STACK_POINTER_OFFSET): changed this to fix a bug in the stack
|
141 |
|
|
layout
|
142 |
|
|
|
143 |
|
|
2005-02-19 Wolfgang Puffitsch
|
144 |
|
|
|
145 |
|
|
* scarts.md ("*pushqi"): for some obscure reason the code for this
|
146 |
|
|
insn was complete crap
|
147 |
|
|
|
148 |
|
|
2005-02-18 Wolfgang Puffitsch
|
149 |
|
|
|
150 |
|
|
* scarts.md: fixed typo that had caused operands of subtractions to
|
151 |
|
|
be marked commutative
|
152 |
|
|
|
153 |
|
|
* scarts.c (scarts_output_function_epilogue): now returning coorect
|
154 |
|
|
value from main()
|
155 |
|
|
|
156 |
|
|
2005-02-13 Wolfgang Puffitsch
|
157 |
|
|
|
158 |
|
|
* scarts.c (scarts_output_function_epilogue): removed unneccessary
|
159 |
|
|
code that caused "exit" always to be linked
|
160 |
|
|
|
161 |
|
|
* scarts.md: fixed a few typos related to the argument for HImode
|
162 |
|
|
shifts
|
163 |
|
|
|
164 |
|
|
* scarts.h: same as with scarts.c, linker-specs were changed a so
|
165 |
|
|
that the simplicistic linker can handle it
|
166 |
|
|
|
167 |
|
|
* scarts.md: same as with scarts.c
|
168 |
|
|
|
169 |
|
|
* scarts.c: changed output a little to make
|
170 |
|
|
linking possible
|
171 |
|
|
|
172 |
|
|
2005-02-11 Wolfgang Puffitsch
|
173 |
|
|
|
174 |
|
|
* scarts.c, scarts.h: modified calling convention and its handling
|
175 |
|
|
to fix a bug that appeared when running in cygwin
|
176 |
|
|
|
177 |
|
|
2005-02-04 Wolfgang Puffitsch
|
178 |
|
|
|
179 |
|
|
* scarts.md: fixed an off-by-one error when computing lengths of
|
180 |
|
|
jumps
|
181 |
|
|
("modhi3_call"): fixed severe typo that caused the libcalls to
|
182 |
|
|
disappear
|
183 |
|
|
|
184 |
|
|
* scarts.c (print_operand): added alternative for unsigned values
|
185 |
|
|
as they are needed for addresses
|
186 |
|
|
|
187 |
|
|
* scarts.md: added SImode division, unsigned division and modulo
|
188 |
|
|
|
189 |
|
|
2005-02-01 Wolfgang Puffitsch
|
190 |
|
|
|
191 |
|
|
* scarts.c: further simplified prologue and epilogue
|
192 |
|
|
|
193 |
|
|
* scarts.md: added SImode multiplication
|
194 |
|
|
|
195 |
|
|
2005-01-31 Wolfgang Puffitsch
|
196 |
|
|
|
197 |
|
|
* scarts.c (scarts_out_movsi): fixed a typo that caused invalid
|
198 |
|
|
offsets to be created. Fixed a bug with loading constant
|
199 |
|
|
addresses. Cleaned up frame-pointer handling in prologue and
|
200 |
|
|
epilogue a bit.
|
201 |
|
|
|
202 |
|
|
* scarts.md: added SImode shifts
|
203 |
|
|
|
204 |
|
|
2005-01-29 Wolfgang Puffitsch
|
205 |
|
|
|
206 |
|
|
* scarts.c (legitimate_address_p): fixed an error that did not
|
207 |
|
|
reject pseudo-regs when being strict
|
208 |
|
|
|
209 |
|
|
2005-01-28 Wolfgang Puffitsch
|
210 |
|
|
|
211 |
|
|
* scarts.c: introduced scarts_out_movqi, scarts_out_movhi,
|
212 |
|
|
scarts_out_movsi, scarts_out_movhf, scarts_out_movsf
|
213 |
|
|
(notice_update_cc): made this function do something, which seems
|
214 |
|
|
to fix the bug which occurred with optimization
|
215 |
|
|
|
216 |
|
|
* scarts.md: removed a number of patterns related to moves (movXX,
|
217 |
|
|
stXX, stofXX, ldXX, ldofXX)
|
218 |
|
|
|
219 |
|
|
2005-01-13 Wolfgang Puffitsch
|
220 |
|
|
|
221 |
|
|
* scarts.md: changed patterns for calls
|
222 |
|
|
|
223 |
|
|
2004-12-23 Wolfgang Puffitsch
|
224 |
|
|
|
225 |
|
|
* scarts.c: the handling of the stack now finally should work; some
|
226 |
|
|
cleanup still needed
|
227 |
|
|
|
228 |
|
|
2004-12-11 Wolfgang Puffitsch
|
229 |
|
|
|
230 |
|
|
* scarts.md: fixed a few typos in SImode and SFmode
|
231 |
|
|
|
232 |
|
|
* scarts.c: (scarts_out_branch): fixed a typo and changed signed
|
233 |
|
|
comparisons for lower bytes to unsigned comparisons, which should
|
234 |
|
|
be correct
|
235 |
|
|
|
236 |
|
|
2004-12-06 Wolfgang Puffitsch
|
237 |
|
|
|
238 |
|
|
* scarts.md ("udivqi3", "udivhi3"): added patterns for unsigned
|
239 |
|
|
divisions
|
240 |
|
|
|
241 |
|
|
* scarts.c (scarts_out_branch): fixed broken comparisons with HImode
|
242 |
|
|
and SImode
|
243 |
|
|
|
244 |
|
|
2004-12-04 Wolfgang Puffitsch
|
245 |
|
|
|
246 |
|
|
* scarts.c: fixed handling of the stack
|
247 |
|
|
|
248 |
|
|
2004-12-03 Wolfgang Puffitsch
|
249 |
|
|
|
250 |
|
|
* scarts.md: added some missing (clobber)s
|
251 |
|
|
|
252 |
|
|
2004-12-01 Wolfgang Puffitsch
|
253 |
|
|
|
254 |
|
|
* scarts.md: fixed a bug that could cause library functions not to
|
255 |
|
|
be emitted in certain situations
|
256 |
|
|
|
257 |
|
|
2004-11-30 Wolfgang Puffitsch
|
258 |
|
|
|
259 |
|
|
* scarts.c (scarts_output_function_prologue): fixed problems with
|
260 |
|
|
interrupts, especially interruptable ones
|
261 |
|
|
|
262 |
|
|
2004-11-27 Wolfgang Puffitsch
|
263 |
|
|
|
264 |
|
|
* scarts.md ("andqi3", "orqi3"): fixed a flaw that did not
|
265 |
|
|
recognize ~0x8000 and 0x8000 correctly.
|
266 |
|
|
|
267 |
|
|
2004-11-24 Wolfgang Puffitsch
|
268 |
|
|
|
269 |
|
|
* scarts.h: introduced pseudo-section for uninitialized data
|
270 |
|
|
|
271 |
|
|
2004-11-04 Wolfgang Puffitsch
|
272 |
|
|
|
273 |
|
|
* scarts.md ("*ldofsi"): fixed a stupid typo
|
274 |
|
|
|
275 |
|
|
2004-10-26 Wolfgang Puffitsch
|
276 |
|
|
|
277 |
|
|
* scarts.md: enhanced and/ior-patterns so that bclr and bset are
|
278 |
|
|
engaged when possible
|
279 |
|
|
|
280 |
|
|
2004-10-23 Wolfgang Puffitsch
|
281 |
|
|
|
282 |
|
|
* scarts.md: added a peepholes for conditional moves; further
|
283 |
|
|
tuning is still needed so that other operations and full
|
284 |
|
|
if/else-constructions can be matched
|
285 |
|
|
|
286 |
|
|
* scarts.c (scarts_jump_mode): now using constants SCARTS_NEAR_JUMP,
|
287 |
|
|
SCARTS_FAR_JUMP and SCARTS_ONE_JUMP for different modes instead of
|
288 |
|
|
plain numbers
|
289 |
|
|
|
290 |
|
|
2004-10-18 Wolfgang Puffitsch
|
291 |
|
|
|
292 |
|
|
* scarts.c (scarts_output_function_epilogue): corrected opcode for
|
293 |
|
|
returning from an interrupt function
|
294 |
|
|
(scarts_output_function_prologue): removed "sei" for interrupt
|
295 |
|
|
functions, because the opcode does not exist
|
296 |
|
|
|
297 |
|
|
2004-06-21 Wolfgang Puffitsch
|
298 |
|
|
|
299 |
|
|
* scarts.md: removed patterns for converting floating point
|
300 |
|
|
numbers, which seems to work now implicitly.
|
301 |
|
|
|
302 |
|
|
2004-06-20 Wolfgang Puffitsch
|
303 |
|
|
|
304 |
|
|
* scarts.h (CALL_USED_REGISTERS): changed RTE register to be a
|
305 |
|
|
fixed register, as being non-fixed was complete nonsense
|
306 |
|
|
|
307 |
|
|
* scarts.md: added useful code for accessing subregs with floating
|
308 |
|
|
point modes
|
309 |
|
|
|
310 |
|
|
2004-06-18 Wolfgang Puffitsch
|
311 |
|
|
|
312 |
|
|
* scarts.c: changed register allocation scheme so that the
|
313 |
|
|
registers are adjacent if not all registers are used
|
314 |
|
|
|
315 |
|
|
2004-05-19 Wolfgang Puffitsch
|
316 |
|
|
|
317 |
|
|
* scarts.c (scarts_override_options): added means for not using a
|
318 |
|
|
number of registers
|
319 |
|
|
|
320 |
|
|
* scarts.h (REG_ALLOC_ORDER): changed register allocation scheme to
|
321 |
|
|
a far superior model.
|
322 |
|
|
|
323 |
|
|
2004-05-04 Wolfgang Puffitsch
|
324 |
|
|
|
325 |
|
|
* scarts.md: improved handling of condition flag and a bunch of
|
326 |
|
|
other small things
|
327 |
|
|
|
328 |
|
|
* scarts.c: migrated from traditional to ANSI function declarations
|
329 |
|
|
|
330 |
|
|
* scarts.h (INIT_TARGET_OPTABS): removed
|
331 |
|
|
|
332 |
|
|
* scarts.c (scarts_init_once): moved code to scarts_override_options
|
333 |
|
|
|
334 |
|
|
* scarts.h (OBJC_PROLOGUE): removed: poisoned and useless anyway
|
335 |
|
|
(MACHINE_DEPENDENT_REORG): removed: poisoned and useless anyway
|
336 |
|
|
|
337 |
|
|
* scarts.c (scarts_rtx_costs): moved (CONST_COSTS) here
|
338 |
|
|
(TARGET_ASM_FILE_START): moved (ASM_FILE_START) here
|
339 |
|
|
(TARGET_ASM_FILE_END): moved (ASM_FILE_END) here
|
340 |
|
|
|
341 |
|
|
2004-04-16 Wolfgang Puffitsch
|
342 |
|
|
|
343 |
|
|
* scarts.md ("negsi2"): fixed that code which was plain wrong.
|
344 |
|
|
Fixed clobbering with multiplication, division and modulo.
|
345 |
|
|
|
346 |
|
|
2004-03-19 Wolfgang Puffitsch
|
347 |
|
|
|
348 |
|
|
* scarts.c (scarts_output_function_prologue): starting stack now one
|
349 |
|
|
below, which seems to work better.
|
350 |
|
|
|
351 |
|
|
* t-scarts: changed so that compilation and installation run
|
352 |
|
|
smoothly.
|
353 |
|
|
|
354 |
|
|
2004-03-15 Wolfgang Puffitsch
|
355 |
|
|
|
356 |
|
|
* scarts.md ("xorxx3"): changed name from "eorxx3" to "xorxx3",
|
357 |
|
|
because the first cause very bad code to be generated
|
358 |
|
|
(shifts): simplified generation of move-patterns
|
359 |
|
|
|
360 |
|
|
2004-03-13 Wolfgang Puffitsch
|
361 |
|
|
|
362 |
|
|
* scarts.c: fixed problems with the stack
|
363 |
|
|
|
364 |
|
|
* scarts.md: got rid of an obscure internal bug introduced by the
|
365 |
|
|
better shift patterns; fixed a few typos.
|
366 |
|
|
|
367 |
|
|
2004-03-12 Wolfgang Puffitsch
|
368 |
|
|
|
369 |
|
|
* scarts.c (print_operand): added T, U, V and W to fix loading of
|
370 |
|
|
64-bit constants
|
371 |
|
|
|
372 |
|
|
* scarts.md: added better shift-handling for HImode
|
373 |
|
|
|
374 |
|
|
2004-03-11 Wolfgang Puffitsch
|
375 |
|
|
|
376 |
|
|
* scarts.md: added code and patterns so that shifts by constants
|
377 |
|
|
are handled better
|
378 |
|
|
|
379 |
|
|
2004-03-10 Wolfgang Puffitsch
|
380 |
|
|
|
381 |
|
|
* scarts.c (scarts_jump_mode): jumping offset was computed
|
382 |
|
|
inversely, fixed this
|
383 |
|
|
(asm_file_end): added guarding to the include of libgcc.s so it
|
384 |
|
|
works always
|
385 |
|
|
|
386 |
|
|
2004-03-09 Wolfgang Puffitsch
|
387 |
|
|
|
388 |
|
|
* scarts.c (scarts_out_branch): changed prefix for labels which are
|
389 |
|
|
generated within insns, so that the convention now is the following:
|
390 |
|
|
"." for insn-generated labels, ".L" for normal
|
391 |
|
|
generated labels, "._" for labels from static
|
392 |
|
|
variables
|
393 |
|
|
|
394 |
|
|
* scarts.md: fixed allowable offsets for loading long and long long
|
395 |
|
|
values
|
396 |
|
|
Fixed a few typos that generated invalid memnonics.
|
397 |
|
|
|
398 |
|
|
* scarts.h (BASE_REG_CLASS): after fiddling around to get away the
|
399 |
|
|
"cannot find spill register" error, I changed this to
|
400 |
|
|
GENERAL_REGS, and it seems to work, but further checking has to be
|
401 |
|
|
done
|
402 |
|
|
|
403 |
|
|
2004-03-08 Wolfgang Puffitsch
|
404 |
|
|
|
405 |
|
|
* scarts.md: added patterns for moving floating point values (only
|
406 |
|
|
between already floating point items)
|
407 |
|
|
|
408 |
|
|
* scarts.h: tweaked costs for moves, so that HFmode is handled now
|
409 |
|
|
too
|
410 |
|
|
|
411 |
|
|
* scarts.md: (subxx3) Simplified subxx3 patterns because there is
|
412 |
|
|
no need for supporting constants due to canonicalisation.
|
413 |
|
|
(general) Substituted "nonmemory_operand" with "register_operand"
|
414 |
|
|
in some patterns that really support registers only.
|