Commit Graph

5339 Commits

Author SHA1 Message Date
olle
280c8655e5 * macos: fixes of loading-code 2003-06-18 10:12:36 +00:00
Jonas Maebe
4be7651aa2 * fixed conversion of fpc_*str_unique to compilerproc 2003-06-17 19:24:08 +00:00
Jonas Maebe
aa9f048e02 * fixed -dnewra compilation problems 2003-06-17 18:13:51 +00:00
Jonas Maebe
9b645eef82 - removed allocparaloc/freeparaloc, generic ones are ok now 2003-06-17 17:27:08 +00:00
peter
b8ad3514c0 * cycle fixes 2003-06-17 16:51:30 +00:00
peter
c642c454a2 * freeintparaloc 2003-06-17 16:36:59 +00:00
peter
f50aba2839 * a_loadaddr_ref_reg fixed 2003-06-17 16:35:56 +00:00
peter
6ce3721d8b * JMP_BUF_SIZE changed to 4 to remove Alloctemp warnings 2003-06-17 16:35:42 +00:00
Jonas Maebe
404d344d92 * lots of newra fixes (need getfuncretparaloc implementation for i386)!
* renamed all_intregisters to volatile_intregisters and made it
    processor dependent
2003-06-17 16:34:44 +00:00
peter
e6e43724c3 * freeintparaloc added 2003-06-17 16:34:19 +00:00
peter
43746bc54a * alloc register for function result 2003-06-17 16:32:44 +00:00
peter
b489c2d65e * allocpara/freepara 64bit support 2003-06-17 16:32:03 +00:00
mazen
012af1131e * updated to help compiling the compiler 2003-06-17 04:34:04 +00:00
Jonas Maebe
673d792cc6 * release function result registers if the functino result isn't used
* don't allocate function result register with -dnewra if there is none
  * some optimizations for non-x86 processor (don't save any registers
    before a call)
2003-06-15 16:52:02 +00:00
Jonas Maebe
75b147ba60 * fixed revious commit 2003-06-15 16:47:33 +00:00
Jonas Maebe
3bbea08997 * fixed register allocation for threadvar loads with newra 2003-06-15 15:13:12 +00:00
Jonas Maebe
4e7fac9e7e * callparatemp fix: if a threadvar is a parameter, that paramter also
does a call
2003-06-15 15:10:57 +00:00
Jonas Maebe
642d0f923b * ppc compiles with -dnewra, haven't tried to compile anything with it
yet though
2003-06-14 22:32:43 +00:00
Jonas Maebe
d29c96896f * fixed newra cycle for x86
* added constants for indicating source and destination operands of the
    "move reg,reg" instruction to aasmcpu (and use those in rgobj)
2003-06-14 14:53:50 +00:00
peter
0dceec9a64 * current_procdef removed, use current_procinfo.procdef instead 2003-06-13 21:19:30 +00:00
peter
65e2afbd58 * supreg_name added 2003-06-13 21:08:30 +00:00
Jonas Maebe
a5a186799a + added supreg_name function 2003-06-13 17:44:44 +00:00
Jonas Maebe
4db662b6d0 * fixed small LOC_(C)FPUREGISTER bug 2003-06-13 17:05:24 +00:00
Jonas Maebe
c0a35f3cab * fixed bugs in case the left node was a LOC_(C)REFERENCE 2003-06-13 17:03:38 +00:00
mazen
b39a9919a2 - unused temp var r removed in GetExplicitRegisterInt function
* some case added for var and fauncions naming
2003-06-12 22:47:52 +00:00
Jonas Maebe
67e0cc3ad6 * t386innode.pass_2 already doesn't call a helper anymore since a long
time
2003-06-12 22:10:44 +00:00
Jonas Maebe
7ca760912b * tcginnode.pass_2 doesn't call a helper anymore in any case
* fixed ungetregisterfpu compilation problems
2003-06-12 22:09:54 +00:00
peter
c036dbe71a * size para for ungetregisterfpu 2003-06-12 21:12:20 +00:00
peter
93138a616d * updates like the powerpc 2003-06-12 21:11:44 +00:00
peter
d179aea20d * ungetregisterfpu gets size parameter 2003-06-12 21:11:10 +00:00
peter
02b3ec4f28 * newra fixes 2003-06-12 21:10:50 +00:00
Jonas Maebe
709e6da4fa - removed ALL_INTREGISTERS (only the one in rgobj is valid) 2003-06-12 19:11:34 +00:00
Jonas Maebe
5a5b7e0192 * deallocate parameter registers in time for newra
* for non-i386, procvars and methodpointers always have to be processed
    in advance, whether or not newra is defined
2003-06-12 18:38:45 +00:00
peter
a71427cf2c * fix newra cycle for i386 2003-06-12 18:31:18 +00:00
Jonas Maebe
2b312f6e8c * fixed compilation problems 2003-06-12 18:12:49 +00:00
peter
a0b9306652 * newra compiles for sparc 2003-06-12 16:43:07 +00:00
peter
ab66b66673 * add inputfile prefix to ppas/link.res 2003-06-12 16:41:51 +00:00
michael
0ea4ac8553 + Polish translations by Wojciech Malinowski 2003-06-12 12:05:02 +00:00
mazen
60fb7c9570 * fixing a general compile problem related to
cg.g_overflowcheck declaration that has
  changed
2003-06-10 20:46:17 +00:00
Jonas Maebe
1929498b42 * patch from Peter to fix tempinfo copying 2003-06-10 09:10:47 +00:00
mazen
1e7fc22124 * fix compile problem related to modification
of the declareation of GetIntParaLoc in the
  ancestor's declaration
2003-06-09 21:44:14 +00:00
peter
19c9bdbf60 * load calln in temprefn in with statement 2003-06-09 18:27:14 +00:00
peter
ab1f33f68b * remove temptype, use tempinfo.temptype instead 2003-06-09 18:26:46 +00:00
peter
72a89db7f7 * para can be the same as function name in delphi 2003-06-09 18:26:27 +00:00
Jonas Maebe
4d7dd7ecb4 * fixed update_reference_reg_mul() so that it won't modify CREGISTERs
in a reference
  * cache value of get_mul_size()
  * if get_mul_size = 1, the index can be a CREGISTER since it won't be
    modified
2003-06-09 16:45:41 +00:00
Jonas Maebe
dab8ab29cc * fixed regvar optimization for call_by_reference parameters (no need
to load address in another register)
2003-06-09 16:41:52 +00:00
Jonas Maebe
55509b199b * (de)allocation of registers for parameters is now performed properly
(and checked on the ppc)
  - removed obsolete allocation of all parameter registers at the start
    of a procedure (and deallocation at the end)
2003-06-09 14:54:26 +00:00
Jonas Maebe
c8978e3440 * fixed for callparatemp 2003-06-09 14:38:52 +00:00
peter
ff431f21ae * updated for new deref info 2003-06-09 12:59:00 +00:00
peter
77d641fa2a * init/final of procedure data splitted from genentrycode
* use asmnode getposition to insert final at the correct position
    als for the implicit try...finally
2003-06-09 12:23:29 +00:00