florian
ef7bd58c54
* germanism removed (aktfilepos -> current_filepos)
...
git-svn-id: trunk@5099 -
2006-10-30 22:37:31 +00:00
florian
85d63d9fa9
* settings refactored
...
git-svn-id: trunk@5094 -
2006-10-30 18:02:58 +00:00
Jonas Maebe
b50841bfce
* more efficient temp allocation, in particular in case many small temps
...
are allocated at irregular intervals in between larger allocations
(reduces stack usage of taddnode.det_resulttype on darwin/i386 from
11+kb to 868 bytes; no effect on Darwin/ppc, and a few small
improvements on linux/i386)
git-svn-id: trunk@4640 -
2006-09-17 20:49:48 +00:00
tom_at_work
3f2f694d48
* per-parameter alignment set in target specific paramanager now overrides default alignment of parameter locals
...
git-svn-id: trunk@3272 -
2006-04-18 14:32:42 +00:00
peter
9c6a296b86
* use shortint for alignments
...
* remove obsolete position check in tgobj, with the new alignment settings
this is not possible anymore
git-svn-id: trunk@2984 -
2006-03-20 08:29:13 +00:00
peter
323d6cf640
* use -O2 for 2.1.1 compilers
...
git-svn-id: trunk@2966 -
2006-03-19 11:19:43 +00:00
peter
b7fe6797bf
Merged revisions 2921-2922,2925 via svnmerge from
...
http://svn.freepascal.org/svn/fpc/branches/linker/compiler
........
r2921 | peter | 2006-03-15 08:35:00 +0100 (Wed, 15 Mar 2006) | 2 lines
* pass ObjectWriter to ObjectOuput
........
r2922 | peter | 2006-03-15 12:40:30 +0100 (Wed, 15 Mar 2006) | 2 lines
* refactor asmdata
........
r2925 | peter | 2006-03-15 16:09:39 +0100 (Wed, 15 Mar 2006) | 3 lines
* add cfi to asmdata
* move asmlist, asmcfi, asmdata to own unit
........
git-svn-id: trunk@2932 -
2006-03-16 08:52:22 +00:00
peter
6bf3269b41
* powerpc64 port from Thomas Schatzl
...
git-svn-id: trunk@1193 -
2005-09-25 17:19:44 +00:00
fpc
790a4fe2d3
* log and id tags removed
...
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
fpc
50778076c3
initial import
...
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
peter
e417e34496
* truncate log
2005-02-14 17:13:06 +00:00
florian
18f7aa97dd
* changed funcret location back to tlocation
2004-11-21 17:17:03 +00:00
peter
c95a859f0a
* generic tlocation
...
* move tlocation to cgutils
2004-10-31 21:45:02 +00:00
peter
33a834821f
* paraloc branch merged
2004-09-21 17:25:12 +00:00
peter
9575b739fb
* make it compile with main branch
2004-09-20 15:40:21 +00:00
Jonas Maebe
600f863e37
* fixed crashes on direction=1 systems (mainly by Peter)
2004-09-20 07:32:02 +00:00
florian
8a9758c5e2
* logs truncated
2004-06-20 08:55:28 +00:00
florian
588e2c38bf
* dwarf branch merged
2004-06-16 20:07:06 +00:00
peter
47f08937e4
* use localalign info for alignment for locals and temps
...
* sparc fpu flags branching added
* moved powerpc copy_valye_openarray to generic
2004-01-12 22:11:38 +00:00
peter
6b90162c5a
* fixes for temp type patch
2003-11-04 19:03:50 +00:00
peter
30f1eb4705
* fix for referencecounted temps
2003-11-04 15:35:13 +00:00
peter
70fe77ca7c
* procinfo unit contains tprocinfo
...
* cginfo renamed to cgbase
* moved cgmessage to verbose
* fixed ppc and sparc compiles
2003-10-01 20:34:48 +00:00
peter
8af51ea6d3
* locals and paras are allocated in the code generation
...
* tvarsym.localloc contains the location of para/local when
generating code for the current procedure
2003-09-23 17:56:05 +00:00
peter
6a8d5eb25d
* NEWRA branch merged
2003-09-03 15:55:00 +00:00
peter
d113495cf1
* fixed stackalloc to not allocate localst.datasize twice
...
* order of stackalloc code fixed for implicit init/final
2003-08-20 17:48:49 +00:00
peter
32d076480b
* framepointer fixes for sparc
...
* parent framepointer code more generic
2003-07-06 17:58:22 +00:00
daniel
41e0bc4cec
* Register allocator finished
2003-06-03 13:01:59 +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
florian
043bb34e81
* fixed temp. management for CPUs were the temp. space grows upwards
2003-05-13 20:13:41 +00:00
peter
2c63c84131
* extdebug info temp alloc type was wrong
2003-05-12 21:29:59 +00:00
peter
60978ba89c
* aktprocdef renamed to current_procdef
...
* procinfo renamed to current_procinfo
* procinfo will now be stored in current_module so it can be
cleaned up properly
* gen_main_procsym changed to create_main_proc and release_main_proc
to also generate a tprocinfo structure
* fixed unit implicit initfinal
2003-04-27 11:21:32 +00:00
peter
f4b818fc1d
* removed funcretn,funcretsym, function result is now in varsym
...
and aliases for result and function name are added using absolutesym
* vs_hidden parameter for funcret passed in parameter
* vs_hidden fixes
* writenode changed to printnode and released from extdebug
* -vp option added to generate a tree.log with the nodetree
* nicer printnode for statements, callnode
2003-04-25 20:59:33 +00:00
Jonas Maebe
b3a3398faf
* fixed istemp() when tg.direction = 1
2003-04-23 08:40:39 +00:00
peter
26b4fdbfa7
* always allocate 4 bytes when 0 bytes are asked
2003-04-22 09:46:17 +00:00
Jonas Maebe
d168ae15df
* lots of new regallocator fixes, both in generic and ppc-specific code
...
(ppc compiler still can't compile the linux system unit though)
2003-03-11 21:46:24 +00:00
daniel
86bcea6ef5
* Code generator converted to new register notation
...
- Horribily outdated todo.txt removed
2003-02-19 22:00:14 +00:00
daniel
684d11f7c2
* Fixed last commit
2003-02-03 23:10:39 +00:00
daniel
6a8297aa34
* Made gettemp use intended procedure for setting reference
2003-02-03 23:07:39 +00:00
daniel
55a161bbbf
* Tregister changed into a record
2003-01-08 18:43:56 +00:00
carl
9b4b57ce01
* fix bugs with istemp() was wrong, and every reference was a temp
2002-12-01 18:58:26 +00:00
carl
53d90a34ab
- remove some unused defines
2002-11-24 18:18:04 +00:00
mazen
41153e2b1a
+ return_result_reg and function_result_reg are now used, in all plateforms, to pass functions result between called function and its caller. See the explanation of each one
2002-11-17 17:49:08 +00:00
peter
bfd72ad5d5
* merged changes from 1.0.7 up to 04-11
...
- -V option for generating bug report tracing
- more tracing for option parsing
- errors for cdecl and high()
- win32 import stabs
- win32 records<=8 are returned in eax:edx (turned off by default)
- heaptrc update
- more info for temp management in .s file with EXTDEBUG
2002-11-15 01:58:45 +00:00
florian
431777f64d
*** empty log message ***
2002-10-11 11:57:43 +00:00
mazen
baf943358d
- no more used
2002-10-11 11:38:50 +00:00
florian
c1d369dc5f
+ added tcg.direction to allow upwards growing temp areas
...
i.e. temps with positive index
2002-09-07 18:25:00 +00:00
peter
b65dedc9e4
* reduced level of comment that type is wrong for release
2002-09-01 18:42:50 +00:00
peter
8b2fb4187e
* fixed some wrong levels in extdebug comments
2002-09-01 12:14:53 +00:00
peter
a903647258
* when reusing a block also update the temptype instead of forcing it
...
to tt_normal
2002-08-24 18:35:04 +00:00
peter
4b81e16fe2
* tempgen cleanup
...
* tt_noreuse temp type added that will be used in genentrycode
2002-08-23 16:14:48 +00:00