Commit Graph

21430 Commits

Author SHA1 Message Date
Károly Balogh
b718d9ff37 + added framework code for AmigaOS/PPC syscall support
git-svn-id: trunk@2239 -
2006-01-09 08:58:30 +00:00
Tomas Hajny
6aced9e534 * fix for web bug #4182
git-svn-id: trunk@2238 -
2006-01-09 02:52:55 +00:00
Jonas Maebe
9f8753c6c0 * fixed web bug #4669 (usage of location.loc instead of expectloc)
git-svn-id: trunk@2236 -
2006-01-08 21:11:04 +00:00
Jonas Maebe
1273e0d7ed * generate signed comparisons for immediate equality comparisons if
possible, because those can be optimized better by the peephole
    optimizer

git-svn-id: trunk@2235 -
2006-01-08 19:54:58 +00:00
tom_at_work
9ee594aedd * changes which were forgotten to commit in r2222 for ppc32 cg
git-svn-id: trunk@2234 -
2006-01-08 18:08:26 +00:00
tom_at_work
6e290373c8 * div by const now enabled with -O2 (not -O3)
* large integer constants (>2 instructions to load) are put into the TOC as well

git-svn-id: trunk@2233 -
2006-01-08 18:04:44 +00:00
tom_at_work
60345fa78a * removed hexstr(), already in RTL (and even supports 64 bit integers)
git-svn-id: trunk@2232 -
2006-01-08 18:01:34 +00:00
florian
78447375dc * comment patch by Vincent Snijders
git-svn-id: trunk@2231 -
2006-01-08 16:28:32 +00:00
florian
0454654a22 * more shared stuff, still not perfect
git-svn-id: trunk@2230 -
2006-01-08 16:26:07 +00:00
florian
d310c6f65c * regenerated
git-svn-id: trunk@2229 -
2006-01-08 16:25:41 +00:00
florian
4e6f4e5cb4 * make shared support
git-svn-id: trunk@2228 -
2006-01-08 15:56:31 +00:00
florian
9c6b3cc8f7 + make shared
git-svn-id: trunk@2227 -
2006-01-08 15:52:43 +00:00
florian
f5e89801da + added option -i<path> for input path
git-svn-id: trunk@2226 -
2006-01-08 15:52:30 +00:00
Jonas Maebe
db580afbff * fixed refs bookkeeping of jump labels (fix from Florian in popt386)
git-svn-id: trunk@2225 -
2006-01-08 15:50:14 +00:00
tom_at_work
4e35206d33 * basic ppc64 PIC code support
git-svn-id: trunk@2223 -
2006-01-08 13:28:46 +00:00
tom_at_work
c887507adf * generic compiler patches for ppc64/linux PIC code
git-svn-id: trunk@2222 -
2006-01-08 13:27:31 +00:00
Jonas Maebe
e4451558c4 * optimized register allocation for tempnodes
git-svn-id: trunk@2221 -
2006-01-08 12:53:43 +00:00
florian
8039c477af * fixed (hopefully) problem with dependencies
git-svn-id: trunk@2220 -
2006-01-08 12:02:57 +00:00
florian
af9d6344b8 * activated fastmove on win32
git-svn-id: trunk@2218 -
2006-01-08 10:10:28 +00:00
florian
844e78b401 * error corrections for message files from Karl-Michael Schindler
git-svn-id: trunk@2217 -
2006-01-08 09:18:08 +00:00
Jonas Maebe
cfae9df535 * added missing ","
git-svn-id: trunk@2216 -
2006-01-08 08:21:15 +00:00
tom_at_work
8c8e25353b * reverted changes from 2214, needs to be split into several commits
git-svn-id: trunk@2215 -
2006-01-08 01:03:15 +00:00
tom_at_work
6313a9be7b * basic code generation for dynamic linking code for ppc64
git-svn-id: trunk@2214 -
2006-01-07 22:16:33 +00:00
Jonas Maebe
5e9db609e3 * fixed bug fixref whereby a register of a reference was overwritten
git-svn-id: trunk@2212 -
2006-01-07 21:52:17 +00:00
florian
e43a1223ff * fixed refs book keeping
git-svn-id: trunk@2211 -
2006-01-07 21:10:39 +00:00
marco
27c92161d6 * Ales Katona's errors patch
git-svn-id: trunk@2210 -
2006-01-07 18:41:15 +00:00
Jonas Maebe
a8ea851999 * changed min and max so more efficient code is generated for them
git-svn-id: trunk@2209 -
2006-01-07 16:36:04 +00:00
Jonas Maebe
c54826b403 * removed extra deallocation and allocation of function result
registers, allows for most optimal code possible to be generated
    for trivial functions (but in some cases worsens generated code
    because the register allocator is not 100% optimal)

git-svn-id: trunk@2208 -
2006-01-07 16:19:19 +00:00
Jonas Maebe
1521a33979 * fixed allocregdebug code
git-svn-id: trunk@2204 -
2006-01-07 15:01:46 +00:00
florian
a3e3e7e8c5 * avoid esp to be freed
git-svn-id: trunk@2203 -
2006-01-07 14:32:09 +00:00
daniel
155b36dc87 * Add extra check for owner of tty
git-svn-id: trunk@2202 -
2006-01-07 08:43:34 +00:00
Károly Balogh
cd38c236a0 + made the compiler to know about PowerPC AmigaOS
git-svn-id: trunk@2201 -
2006-01-07 04:46:27 +00:00
Károly Balogh
c723aa9c86 + first startup code implementation for amigaos4
git-svn-id: trunk@2200 -
2006-01-07 03:36:09 +00:00
Károly Balogh
fd54c6b468 + ppc-amigaos stack cookie support
git-svn-id: trunk@2199 -
2006-01-07 02:41:15 +00:00
Jonas Maebe
b334da9a54 * fixed dlgtemplate and dlgitemtemplate structs (Martin Schreiber)
git-svn-id: trunk@2198 -
2006-01-06 22:34:47 +00:00
Jonas Maebe
5692b93a52 * fixed bug in regalloc info in case a sequence is swapped with
a storeback at the end (i.e., "mov x,y" ... "mov y,x")

git-svn-id: trunk@2197 -
2006-01-06 15:29:25 +00:00
Jonas Maebe
a885e9da0e * fixed replaceregdebug code
git-svn-id: trunk@2196 -
2006-01-06 14:55:42 +00:00
Károly Balogh
000e839d77 - fixed system.chdir() to properly return error
+ better, more Amigaish sysutils.DirectoryExists() implementation

git-svn-id: trunk@2195 -
2006-01-06 14:21:51 +00:00
Jonas Maebe
0da53e4ff0 * don't give an IE with extdebug on darwin if a symbol is "re-allocated"
with a wrong type, because we can't know the type of a symbol in the
    CG

git-svn-id: trunk@2194 -
2006-01-06 12:08:43 +00:00
Jonas Maebe
fc1b5c9fe2 * fixed backwards extension of regalloc information
git-svn-id: trunk@2193 -
2006-01-06 11:17:29 +00:00
Jonas Maebe
ac24965242 * procedures which use goto/label revert to the older and less
efficient regvar allocation scheme
  * also allocate regvars before the loops, not just afterwards

git-svn-id: trunk@2192 -
2006-01-05 23:45:00 +00:00
Jonas Maebe
548a9040bc * test for register variables and goto
git-svn-id: trunk@2191 -
2006-01-05 23:41:54 +00:00
Jonas Maebe
ea89d8a881 * don't move addresses in a LOC_CREGISTER to another register for
derefnodes

git-svn-id: trunk@2190 -
2006-01-05 20:46:20 +00:00
florian
4eb1bc5dc9 * removed obsolete example
git-svn-id: trunk@2188 -
2006-01-05 19:32:56 +00:00
florian
9670e0eb78 * leave stackframe on x86-64 as well away if possible
git-svn-id: trunk@2187 -
2006-01-05 18:08:33 +00:00
Jonas Maebe
61ef30381c * Only synchronise regvars after a loop (and only those regvars
which are used in the loop). The compiler makes now much
    more efficient use of registers for register variables (and
    different regvars can now also share the same register if
    their live range does not overlap)

git-svn-id: trunk@2186 -
2006-01-05 17:48:11 +00:00
Jonas Maebe
b769a968e3 * make sure live_start and live_end are correctly updated while
generating the initialisation and entry code

git-svn-id: trunk@2185 -
2006-01-05 17:46:16 +00:00
Jonas Maebe
24c3ec1095 * also process methodpointerinit and methodpointerdone fields
of calln in foreachnode*()

git-svn-id: trunk@2183 -
2006-01-05 16:49:31 +00:00
joost
5e631df4cc + do not try to applyupdates on an empty dataset
+ removed obsolete refresh from applyupdates
+ removed obsolete SetCurrentRecord

git-svn-id: trunk@2181 -
2006-01-05 15:53:46 +00:00
Jonas Maebe
fe71df8928 * also synchronise FPU and MM CREGISTERS at the end of procedures
git-svn-id: trunk@2178 -
2006-01-05 10:24:14 +00:00