Commit Graph

13518 Commits

Author SHA1 Message Date
marco
ae88b7051b * first try at init code. 2003-05-26 17:11:33 +00:00
Jonas Maebe
035ad566f9 * endian fix is now done using a define instead of with source_info 2003-05-26 15:49:54 +00:00
marco
925bc00623 * NetBSD target support. OpenBSD reserved in the enum, for future use. 2003-05-25 23:15:04 +00:00
Jonas Maebe
543d919b3d * made Args parameter of BitsErrorFmt a const one 2003-05-25 16:05:18 +00:00
Jonas Maebe
1bb8852335 * fixed register numbering bug 2003-05-25 14:32:42 +00:00
Jonas Maebe
f9d90e0a63 + added from linux 2003-05-25 14:07:26 +00:00
Jonas Maebe
34cdc0a37f * several fixes, addition of Mach trap numbers (thye are simply syscalls
with a negative number)
2003-05-25 13:51:58 +00:00
Jonas Maebe
eac3e6f828 * several fixes, addition of Mach trap numbers (thye are simply syscalls
with a negative number)
2003-05-25 12:59:56 +00:00
peter
072a55b73e * methodpointer self pushing fixed 2003-05-25 11:34:17 +00:00
peter
aaf6114364 * moved Comment calls to messge file 2003-05-25 10:27:12 +00:00
peter
1b72901b14 * recursive include depth check 2003-05-25 10:26:43 +00:00
peter
c0995a3db1 * fix interrupt stack allocation 2003-05-25 10:26:15 +00:00
Jonas Maebe
9a0c1f50e9 - undid previous patch, it was not necessary and on top of that, it
contained a bug :/
2003-05-25 09:27:13 +00:00
peter
64eb7ee2ec * do not generate code when there was an error 2003-05-25 08:59:47 +00:00
peter
b1369666c4 * inline fixes 2003-05-25 08:59:16 +00:00
peter
cbbbd01d44 * load result using hidden parameter 2003-05-25 08:55:49 +00:00
florian
1f099e81a7 * if something doesn't work with callparatemp, the define callparatemp
should be used because other processors with reigster calling conventions
    depend on this as well
2003-05-24 21:12:57 +00:00
Jonas Maebe
fd581235c8 * fixed ExitCode translation in WaitProcess for Linux and Darwin (and
probably other BSD's as well)
2003-05-24 20:39:54 +00:00
Jonas Maebe
1712878279 * fixed tcginnode endian bug again, but correcty this time :) 2003-05-24 19:48:49 +00:00
Jonas Maebe
4ca3d9a2e9 * fixed shr of 64 bit values by non-immediate value 2003-05-24 19:15:29 +00:00
Jonas Maebe
527153658e * added missing firstpass for callparatemp code 2003-05-24 17:16:37 +00:00
Jonas Maebe
a835c08458 - removed bogus location_copy for include/exclude 2003-05-24 17:15:59 +00:00
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
17d2b2cc15 * fixed strscan and strrscan 2003-05-24 10:16:24 +00:00
Jonas Maebe
a399f7898c * added longint typecase to odd(smallint_var) call to avoid overload
problem
2003-05-23 22:58:31 +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
2348799448 * fixed compilation of sparc system unit 2003-05-23 22:36:39 +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
Jonas Maebe
b6088901a6 * fixed storing to errno for single threaded programs 2003-05-23 21:58:30 +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
florian
29a9f050ed + dummy implementation readded to satisfy makefile 2003-05-23 21:09:14 +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
cf7d1d5421 * forgot %fail 2003-05-23 17:11:23 +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