sergei
|
c0eafe38aa
* Make trgobj.uses_registers method return True when registers of appropriate type are specified in list of used registers (after assembler blocks), but not used otherwise. This is a missing piece of r30011, enabling code generator to actually save/restore such registers. Resolves #28421.
|
преди 9 години |
florian
|
199b1861d6
* fix wrong comparisons in trgobj.conservative to enable better coalescing,
|
преди 10 години |
florian
|
31709b1b43
* check registers of ait_regalloc for a valid color when translating and compiling with -dextdebug
|
преди 10 години |
Jonas Maebe
|
e12dff9a5e
* support top_para in trgllvm.get_spill_temp()
|
преди 10 години |
Jonas Maebe
|
e750678f37
* factored out spilling code that deals with operand types into virtual
|
преди 10 години |
Jonas Maebe
|
197e5194b9
* don't crash if we have to spill a register of the last instruction in an
|
преди 10 години |
Jonas Maebe
|
67b8aceaee
* synchronized with privatetrunk till r30095
|
преди 10 години |
sergei
|
31fddaafe8
+ New subtype of tai_regalloc, "ra_markused". It marks a physical register as used in procedure, triggering saving/restoring that register if it is non-volatile.
|
преди 10 години |
Jonas Maebe
|
5c75b6dd6b
* synchronised with trunk up till r28402
|
преди 11 години |
sergei
|
9b9ea15d68
+ m68k: initial implementation of do_spill_replace (supports only MOVE instructions for now). Tested with qemu for Coldfire target.
|
преди 11 години |
Jonas Maebe
|
bacd303208
* synchronized with trunk up to r27758
|
преди 11 години |
Jonas Maebe
|
246caf3526
* never alias/coalesce cpu registers that are not usable by the register
|
преди 11 години |
Jonas Maebe
|
e9268a0a14
* synchronised with trunk up till r26975
|
преди 11 години |
florian
|
23c724f885
* prevent a temp. register allocated during spilling being immediately spilled again, resolves #25164
|
преди 11 години |
florian
|
829764e96b
+ replace registers to spill in mov instructions and convert them into ldr/str
|
преди 11 години |
Károly Balogh
|
587acf6452
fix infinite spilling on m68k, patch by Florian, additional IE workaround by me, based on a similar hack in the ARM cg...
|
преди 11 години |
Károly Balogh
|
70f9b098e0
no longer define a segment field for m68k
|
преди 11 години |
sergei
|
d2a9308181
+ SPARC: implemented register spill replacement.
|
преди 11 години |
Jonas Maebe
|
b7803ab974
+ llvm support for the register allocator. While llvm works with virtual
|
преди 11 години |
Jonas Maebe
|
5ef93e85b8
+ added extra "orgsupreg" parameter to do_spill_read/do_spill_written/
|
преди 11 години |
Jonas Maebe
|
5599870a4e
* moved the register colouring and spill temp allocation to a virtual method,
|
преди 11 години |
svenbarth
|
32a18199c5
Print aX or aregX for address registers if DEBUG_REGISTERLIFE is defined.
|
преди 12 години |
florian
|
dc567acc9a
* accumulate register weight instead of taking only the maximum
|
преди 12 години |
florian
|
c2f7ccb253
* coalesce more aggressive
|
преди 12 години |
sergei
|
8b8553991a
+ MIPS: prevent coalescing written-to registers with $sp,$fp,$zero and $at.
|
преди 12 години |
florian
|
23c84fd27c
* more fixes for segment register usage
|
преди 12 години |
florian
|
b85addb451
+ color segment register
|
преди 12 години |
svenbarth
|
d15304c25e
Also check for the type of the register when replacing it. In certain circumstances this can still lead to access to invalid memory resulting either in an access violation or invalid registers.
|
преди 12 години |
pierre
|
322b793506
Try to do something for m68k integer/address registers; not working yet :!(
|
преди 12 години |
svenbarth
|
2ada9a528b
Fix a critical bug in the register allocator (at least for CPUs with seperate address
|
преди 12 години |