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.
|
13 роки тому |
pierre
|
322b793506
Try to do something for m68k integer/address registers; not working yet :!(
|
13 роки тому |
svenbarth
|
2ada9a528b
Fix a critical bug in the register allocator (at least for CPUs with seperate address
|
13 роки тому |
florian
|
95830d5a4a
+ DEBUG_REGISTERLIFE define
|
13 роки тому |
florian
|
f75e39e660
+ aliasing of registers, allows to split live ranges
|
13 роки тому |
florian
|
f9dd5bf5e6
+ live_start and live_end_properties
|
13 роки тому |
florian
|
c2d067940a
* get rid of hash chars, modern tools and IDEs can use normal comments as documentation if needed
|
13 роки тому |
florian
|
b78f9826fb
* call AllocMem instead of GetMem/FillChar
|
13 роки тому |
florian
|
ecdec2e431
* disable reg. allocator optimization introduced in r21812 for now because it caused some trouble, see #22405
|
13 роки тому |
masta
|
f9cdf3d4ca
Be more specific in spilling debug messages
|
13 роки тому |
masta
|
aef81cad68
Add debug information about register spilling
|
13 роки тому |
florian
|
9833f642fe
* coalesce if either u or v are precolored, tested on arm and i386, it gives for both a small advantage
|
13 роки тому |
Jonas Maebe
|
0fc422f244
* moved definition of maxcpuregister and tcpuregisterset from cgbase to
|
13 роки тому |