Jonas Maebe
|
67b8aceaee
* synchronized with privatetrunk till r30095
|
10 jaren geleden |
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 jaren geleden |
Jonas Maebe
|
5c75b6dd6b
* synchronised with trunk up till r28402
|
11 jaren geleden |
sergei
|
9b9ea15d68
+ m68k: initial implementation of do_spill_replace (supports only MOVE instructions for now). Tested with qemu for Coldfire target.
|
11 jaren geleden |
Jonas Maebe
|
bacd303208
* synchronized with trunk up to r27758
|
11 jaren geleden |
Jonas Maebe
|
246caf3526
* never alias/coalesce cpu registers that are not usable by the register
|
11 jaren geleden |
Jonas Maebe
|
e9268a0a14
* synchronised with trunk up till r26975
|
11 jaren geleden |
florian
|
23c724f885
* prevent a temp. register allocated during spilling being immediately spilled again, resolves #25164
|
11 jaren geleden |
florian
|
829764e96b
+ replace registers to spill in mov instructions and convert them into ldr/str
|
11 jaren geleden |
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 jaren geleden |
Károly Balogh
|
70f9b098e0
no longer define a segment field for m68k
|
11 jaren geleden |
sergei
|
d2a9308181
+ SPARC: implemented register spill replacement.
|
11 jaren geleden |
Jonas Maebe
|
b7803ab974
+ llvm support for the register allocator. While llvm works with virtual
|
12 jaren geleden |
Jonas Maebe
|
5ef93e85b8
+ added extra "orgsupreg" parameter to do_spill_read/do_spill_written/
|
12 jaren geleden |
Jonas Maebe
|
5599870a4e
* moved the register colouring and spill temp allocation to a virtual method,
|
12 jaren geleden |
svenbarth
|
32a18199c5
Print aX or aregX for address registers if DEBUG_REGISTERLIFE is defined.
|
12 jaren geleden |
florian
|
dc567acc9a
* accumulate register weight instead of taking only the maximum
|
12 jaren geleden |
florian
|
c2f7ccb253
* coalesce more aggressive
|
12 jaren geleden |
sergei
|
8b8553991a
+ MIPS: prevent coalescing written-to registers with $sp,$fp,$zero and $at.
|
12 jaren geleden |
florian
|
23c84fd27c
* more fixes for segment register usage
|
12 jaren geleden |
florian
|
b85addb451
+ color segment register
|
12 jaren geleden |
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.
|
13 jaren geleden |
pierre
|
322b793506
Try to do something for m68k integer/address registers; not working yet :!(
|
13 jaren geleden |
svenbarth
|
2ada9a528b
Fix a critical bug in the register allocator (at least for CPUs with seperate address
|
13 jaren geleden |
florian
|
95830d5a4a
+ DEBUG_REGISTERLIFE define
|
13 jaren geleden |
florian
|
f75e39e660
+ aliasing of registers, allows to split live ranges
|
13 jaren geleden |
florian
|
f9dd5bf5e6
+ live_start and live_end_properties
|
13 jaren geleden |
florian
|
c2d067940a
* get rid of hash chars, modern tools and IDEs can use normal comments as documentation if needed
|
13 jaren geleden |
florian
|
b78f9826fb
* call AllocMem instead of GetMem/FillChar
|
13 jaren geleden |
florian
|
ecdec2e431
* disable reg. allocator optimization introduced in r21812 for now because it caused some trouble, see #22405
|
13 jaren geleden |