Commit Graph

5168 Commits

Author SHA1 Message Date
Jonas Maebe
df07c64f1f * added missing firstpass for withrefnode 2003-05-24 17:15:24 +00:00
Jonas Maebe
f8c0236bf4 * fixed expectloc of notnode for all processors that have flags 2003-05-24 16:32:34 +00:00
Jonas Maebe
517e16dae7 * fixed endian problem with tlocation.value/valueqword fields 2003-05-24 16:02:01 +00:00
Jonas Maebe
df5e0bbfc6 * fsqrt is an optional instruction in the ppc architecture and isn't
implemented by any current ppc afaik, so use the generic sqrt routine
    instead (adapted so it works with compilerproc)
2003-05-24 13:39:32 +00:00
Jonas Maebe
ee71991a7f * don't save callee-save registers in the caller as well (the ppc code
that we generate is slow enough as it is without resorting to doing
    double work :)
2003-05-24 13:38:04 +00:00
Jonas Maebe
f85bec0291 * endian fixes 2003-05-24 13:37:10 +00:00
Jonas Maebe
ff12c6c54f * save fpu results in a normal fpu register on non-x86 processors 2003-05-24 13:36:54 +00:00
Jonas Maebe
54cacc63a5 * fixed integer typeconversion problems 2003-05-24 11:59:42 +00:00
Jonas Maebe
5cfedffb9e * added some missing paralocation size settings 2003-05-24 11:48:40 +00:00
Jonas Maebe
d321a5aa3d * fixed framepointer storage: it's now always stored at r1+12, which is
a place in the link area reserved for compiler use.
2003-05-24 11:47:27 +00:00
Jonas Maebe
7804ac8ec2 - disable addoptnodes for powerpc, because they can generate calls in
pass_2, so -dcallparatemp can't detect them as nested calls
2003-05-23 22:57:38 +00:00
florian
995f7e0f11 * fix some small flaws which prevent sparc linux system unit from compiling
* some reformatting done
2003-05-23 22:33:48 +00:00
florian
89c93b12c4 * fixed sparc compiler compilation 2003-05-23 21:10:50 +00:00
Jonas Maebe
e8bceeb54a * fixed exclude 2003-05-23 21:10:38 +00:00
Jonas Maebe
25435fe881 * corrected fix for endian differences in tcginnode 2003-05-23 19:52:28 +00:00
Jonas Maebe
ae88588462 - undid previous commit, it was wrong 2003-05-23 19:35:50 +00:00
Jonas Maebe
bee07d21a9 * fixed tests for whether a certain int register is unused 2003-05-23 19:11:58 +00:00
Jonas Maebe
74301b9544 * fixed support for nested procedures and more parameters than those
which fit in registers (untested/probably not working: calling a
    nested procedure from a deeper nested procedure)
2003-05-23 18:51:26 +00:00
Jonas Maebe
ce0885b092 * generate code for parent procedure before that of nested procedures as
well (I only need pass_1 to be done for the ppc, but pass_1 and pass_2
    are grouped and it doesn't hurt that pass_2 is done as well)
2003-05-23 18:49:55 +00:00
Jonas Maebe
e65fb85ce9 * fixed ppc compiler 2003-05-23 18:01:56 +00:00
peter
5b3a91188b * loadn procsym need to return procdef 2003-05-23 17:05:13 +00:00
peter
e13e129c3c * write interface crc to .ppu.intf when enabled
* when a unit is compiled with -Ur check only interface crc
2003-05-23 17:04:37 +00:00
peter
895e03b854 * write header for crc_only 2003-05-23 17:03:51 +00:00
peter
e91cc82200 * better error for undefined ordinal labels 2003-05-23 15:15:36 +00:00
peter
c9ecdb1a24 * fix previous commit for unix 2003-05-23 15:03:31 +00:00
peter
24e4003aa3 * FindFilePChar added to allow PATH variables > 256 chars 2003-05-23 14:39:56 +00:00
peter
8ff5792776 * remove some unit dependencies
* current_procinfo changes to store more info
2003-05-23 14:27:35 +00:00
peter
e6f72d2037 * add cgcpu 2003-05-22 21:39:51 +00:00
peter
5f6de7eb1f * inherite from tcgprocinfo 2003-05-22 21:34:11 +00:00
peter
9e2958f846 * i386 att instruction table moved to separate unit 2003-05-22 21:33:08 +00:00
peter
437ce7f8a2 * removed some unit dependencies 2003-05-22 21:32:28 +00:00
peter
345228fd29 * defer codegeneration for nested procedures 2003-05-22 21:31:35 +00:00
peter
31286d02e6 * search defaulthandler only for message methods 2003-05-22 17:43:21 +00:00
florian
1770c1db0f * fixed sparc compilation partially 2003-05-22 16:11:22 +00:00
florian
9de6468186 + basic darwin support added 2003-05-20 23:54:00 +00:00
florian
999b859bc8 * fixed calling sequence for subroutines using the aix abi 2003-05-19 12:15:28 +00:00
Tomas Hajny
2698227d41 * message correction 2003-05-18 20:07:31 +00:00
florian
b1b16c8f09 + added abi field to tsysteminfo 2003-05-18 15:15:59 +00:00
Jonas Maebe
4aadabdf80 * fixed size setting of result location of innodes 2003-05-17 19:17:35 +00:00
Jonas Maebe
56b4360422 * fixed callparatemp for ansi/widestring and interfacecoms 2003-05-17 14:05:58 +00:00
Jonas Maebe
624819ccb8 * fixed para/localst calculations (note to self: don't commit at
extremely late/early hours :)
2003-05-17 14:05:30 +00:00
Jonas Maebe
cb279b2029 * changed tt_persistant to tt_persistent :)
* tempcreatenode now doesn't accept a boolean anymore for persistent
    temps, but a ttemptype, so you can also create ansistring temps etc
2003-05-17 13:30:08 +00:00
Jonas Maebe
9055529171 * workaround for nested procedures until Peter fixes it properly :) 2003-05-16 23:15:51 +00:00
Jonas Maebe
3973883fe1 - undid previous commit, it wasn't necessary 2003-05-16 20:54:12 +00:00
Jonas Maebe
d816c6a8c6 * powerpc nested procedure fixes, should work completely now if all
local variables of the parent procedure are declared before the
    nested procedures are declared
2003-05-16 20:00:39 +00:00
Jonas Maebe
66792ee44e * adapted for Peter's regvar fixes 2003-05-16 16:26:05 +00:00
peter
abca40f041 * regvar fixes 2003-05-16 14:33:31 +00:00
peter
1d3a842c07 * fix dup check for hiding the result varsym in localst, the result
sym was already in the localst when adding the locals
2003-05-16 14:32:58 +00:00
florian
137395876d * fixed last commit, changing lastsaveintreg to r31 caused some strange problems 2003-05-15 22:14:42 +00:00
florian
5f6578729b * sysv entry code saves r13 now as well 2003-05-15 21:37:00 +00:00