Commit Graph

7232 Commits

Author SHA1 Message Date
Jonas Maebe
49a8939b22 * modifications to work with the generic code to copy LOC_REFERENCE
parameters to local temps (fixes tests/test/cg/tmanypara)
2004-12-04 21:47:46 +00:00
florian
d018160981 * fixed compilation 2004-12-04 15:23:00 +00:00
peter
57dc23a294 * fix crashes with nodeinlining 2004-12-03 16:07:04 +00:00
peter
36268edfed * fix for int64 parameters passed in a single LOC_REFERENCE of 8 bytes 2004-12-03 16:06:31 +00:00
peter
5ee4b9ad24 * use tlocation for tempnodes 2004-12-03 16:04:47 +00:00
peter
466c376d13 * LOC_CREGISTER fix 2004-12-03 15:58:11 +00:00
peter
c2263a36ac * int64 can also be put in a register 2004-12-03 15:57:39 +00:00
peter
6fa0391558 * fix for 1.9.4 that IE'd when rebuilding fpc 2004-12-03 15:57:11 +00:00
peter
959bdccc49 * disable pass2inline 2004-12-02 19:26:14 +00:00
Jonas Maebe
bd04491f50 * patch from Peter to fix inlining of case statements 2004-11-30 18:13:39 +00:00
peter
24cc110e9f * public is allowd in interface 2004-11-29 21:50:08 +00:00
peter
7c144223ad * fixed wrong calculation for checking default parameters 2004-11-29 21:40:54 +00:00
peter
459858305e * location_force_reg in second_nothing can reuse LOC_CREGISTER 2004-11-29 21:02:08 +00:00
peter
cd4534c862 * uninited results 2004-11-29 20:50:37 +00:00
michael
d4b8a224a1 + Added license to this library 2004-11-29 19:16:43 +00:00
peter
06cfe01791 * os2 fixes for import
* asmsymtype support for intel reader
2004-11-29 18:50:15 +00:00
peter
05127d887d * when importing by index don't change mangledname 2004-11-29 17:48:34 +00:00
peter
5f61be6b4d * prevent some IEs with delphi methodpointers 2004-11-29 17:32:56 +00:00
Jonas Maebe
97b2ef94c1 * loadvmtaddrn and loadparentfpn both have complexity 1 (the latter
fixes compilation of tw0935 with nodeinlining)
2004-11-28 19:29:45 +00:00
Jonas Maebe
21c7a9db2f * fixed check for regvar-ability of tempnodes 2004-11-28 19:16:53 +00:00
Jonas Maebe
38db3679d8 * only try to replace locals from the inlined procedure with temps,
cycle now works with -dNODEINLINE
2004-11-28 14:34:59 +00:00
Jonas Maebe
f244dea6ec * fixed some bugs in the node inlining code due to the transition from
dynamic array to tlist
  * fixed some register temp bugs (node inlining still does not work again
    though)
2004-11-27 22:43:01 +00:00
florian
54ceea9e60 * some m68k stuff updated 2004-11-27 16:16:02 +00:00
peter
1fcd2cd8ad * internal flag for compare_defs_ext 2004-11-26 22:34:28 +00:00
peter
1418add0e0 * don't allow pointer(ordinal) typecast in fpc mode, only allow it
for delphi and for internal use
2004-11-26 22:33:54 +00:00
peter
b55fe3fa67 * don't allow @method in tp procvar mode 2004-11-26 22:33:24 +00:00
peter
08d0d3b73c * fixed read temp for result 2004-11-26 22:33:00 +00:00
armin
f4ffaa9828 * applied peters patch for cross compile (bin installation) 2004-11-26 13:03:07 +00:00
Jonas Maebe
26ab4ead33 * fixed intermittent bug in overflow checking of subtractions 2004-11-26 12:30:47 +00:00
Jonas Maebe
fff0683902 * fixed overflow checking of unsigned multiplications 2004-11-26 12:17:04 +00:00
armin
2189bb812b * added utilsprefix for as,ld and nlmconv 2004-11-25 18:46:11 +00:00
florian
ad4345c217 * fixed arm compilation 2004-11-24 22:03:26 +00:00
peter
576e1825aa * enabled pass1 inlining from Jonas 2004-11-22 22:19:00 +00:00
peter
8cf8c54609 * fixed varargs
* replaced dynarray with tlist
2004-11-22 22:01:19 +00:00
peter
a263b1d40e * GetHeapStatus added, removed MaxAvail,MemAvail,HeapSize 2004-11-22 19:34:58 +00:00
Jonas Maebe
a7d7a49615 * fixed importing of cdecl routines for OS'es which have a cprefix 2004-11-22 12:22:25 +00:00
peter
2985766e9d * manglednames for nested procedures include full parameters from
the parents to prevent double manglednames
2004-11-21 21:51:31 +00:00
peter
2ad2e252a3 * allow spaces before : of a label 2004-11-21 21:36:13 +00:00
peter
9a64d34d34 * add checks for filedef type to prevent crashes 2004-11-21 21:27:31 +00:00
peter
a29eab36c7 * fixed funcretloc for sparc 2004-11-21 18:13:31 +00:00
peter
89b1b583c9 * ttempcreatenode.create_reg merged into .create with parameter
whether a register is allowed
  * funcret_paraloc renamed to funcretloc
2004-11-21 17:54:59 +00:00
florian
18f7aa97dd * changed funcret location back to tlocation 2004-11-21 17:17:03 +00:00
peter
29d3a94892 * fixed message methods
* fixed typo with win32 dll import from implementation
  * released external check
2004-11-21 16:33:19 +00:00
peter
4d8460ec2f * float routines all use internproc and compilerproc helpers 2004-11-21 15:35:23 +00:00
florian
1943e6a5ab * write nil entry after last entry to vmt table so the size of the vmt can be determined 2004-11-20 14:39:27 +00:00
peter
1f6d2f6ece * fixed setting of mangledname when importing 2004-11-19 16:30:24 +00:00
marco
c1ee8eed7b * cycle fix. 2004-11-19 14:21:44 +00:00
marco
7fa7a1f3da * fix for " Split po_public into po_public and po_global" 2004-11-19 08:33:02 +00:00
michael
180966c0aa * Split po_public into po_public and po_global (Peter) 2004-11-19 08:17:01 +00:00
michael
4963306976 + Fix for win32 cycle 2004-11-18 10:06:19 +00:00
peter
1687306d22 * make some checks EXTDEBUG only for now so linux cycles again 2004-11-17 22:41:41 +00:00
peter
14d25d278b mangledname setting moved to place after the complete proc declaration is read
import generation moved to place where body is also parsed (still gives problems with win32)
2004-11-17 22:21:35 +00:00
peter
c4502aebe7 * _mangledname for symbols moved only to symbols that really need it
* overload number removed, add function result type to the mangledname fo
  procdefs
2004-11-16 22:09:57 +00:00
peter
4ef34e7e43 * fixed rangecheck error with derefdata 2004-11-16 20:49:08 +00:00
peter
87d2861f89 * fixes for win32 mangledname 2004-11-16 20:32:40 +00:00
peter
e740a66636 * tparaitem removed, use tparavarsym instead
* parameter order is now calculated from paranr value in tparavarsym
2004-11-15 23:35:30 +00:00
peter
382ac54e58 * fixed Makefile targets for cross compilers 2004-11-15 19:31:27 +00:00
peter
db81b4333a * fatal error when procedure is too complex 2004-11-14 21:08:27 +00:00
florian
60e0494a74 * fixed morphos syscall 2004-11-14 16:26:29 +00:00
peter
0c7e53bb81 * fixed compile of powerpc,sparc,arm 2004-11-11 19:31:33 +00:00
peter
95e0ed26f8 * use helper call to retrieve address of input/output to reduce
code that is generated in the main program for loading the
    threadvar
2004-11-09 23:10:22 +00:00
peter
6c9c4c686c * small m68k updates to bring it up2date
* give better error for external local variable
2004-11-09 22:32:59 +00:00
peter
7c0b6e129e * fixed wrong typecasts 2004-11-09 17:26:47 +00:00
peter
338155d396 * fixed compile 2004-11-09 16:46:05 +00:00
peter
b0afe9a351 * indexword can't be used for 1.9.4 2004-11-09 16:18:12 +00:00
peter
6458bd0ce1 * tvarsym splitted 2004-11-08 22:09:58 +00:00
florian
4b211028a2 * include/exclude for sets in registers fixed 2004-11-08 21:59:34 +00:00
florian
87b589f4f5 * better code generation for copying of open arrays 2004-11-08 21:47:39 +00:00
florian
7b8c44bbce * fixed open arrays when using register variables 2004-11-08 20:23:29 +00:00
florian
239db4ba9d * marked o* registers as volatile 2004-11-07 00:33:45 +00:00
florian
8ffe3c6a9e * debug writeln removed 2004-11-06 18:58:18 +00:00
peter
e009b39d8b * check extension of library if it needs to be linked static 2004-11-06 17:58:10 +00:00
florian
42e14b6825 + additional extdebug check for wrong add_reg_instructions added
* too long manglednames are cut off at 200 chars using a crc
2004-11-06 17:44:47 +00:00
florian
e2ec30866a * fixed OP_SUB for negative constants fitting in the shifter 2004-11-06 15:18:57 +00:00
peter
ad89ee8150 * rename duplicate symbols and insert with unique name in the
symtable
2004-11-05 21:16:55 +00:00
florian
7f89448cec * vmt offset of objects is no properly aligned when necessary 2004-11-05 21:07:13 +00:00
florian
fa2f619598 * THREADVARLIST is now aligned 2004-11-05 20:04:49 +00:00
florian
caa87a23ec * fixed arm compilation 2004-11-05 13:14:30 +00:00
florian
7e778c5d78 * fixed dyn. linker handling 2004-11-05 12:27:27 +00:00
florian
aa23d79073 * path of dyn. linker on arm for linux fixed 2004-11-05 11:04:23 +00:00
peter
088892de9b use filepos of main when generating the module stabs 2004-11-04 23:59:13 +00:00
peter
37139422aa elecount also on 32bit needs the qword part to prevent overflow 2004-11-04 17:58:48 +00:00
peter
d804452dcc added checking for token=_ID after _POINT is parsed 2004-11-04 17:57:58 +00:00
peter
2eb3dfd077 linking with cygwin fixed 2004-11-04 17:12:52 +00:00
peter
79e754cb8c forgot if cs_debuginfo 2004-11-04 17:12:24 +00:00
peter
f4a7c3d444 fixed debuginfo for variables in staticsymtable 2004-11-04 17:09:54 +00:00
peter
589dd8c10e First check outputunitdir/outputexedir for .o file 2004-11-03 22:22:51 +00:00
florian
054f6bff3a * fixed missing cgutils usage 2004-11-03 17:51:58 +00:00
florian
e2a6678591 * fixed sparc <-> i386 mixture 2004-11-03 12:04:03 +00:00
peter
33494a7775 * fix possible range error 2004-11-03 10:11:13 +00:00
florian
926da4b9c9 * fixed writing of para locations for procedures with explicit locations for parameters 2004-11-03 09:46:34 +00:00
olle
135be09271 * fixed possible problem with null termination 2004-11-02 22:17:25 +00:00
florian
c94553080b + added profiler call for x86_64 2004-11-02 20:50:54 +00:00
Jonas Maebe
14197fb830 * copy totype field in ttypeconvnode.getcopy() 2004-11-02 20:15:53 +00:00
florian
4be6ea3b4a * dyn. array dimensions are now stored as sinttype so it's target register size dependend 2004-11-02 18:37:08 +00:00
florian
bfce614370 * fixed -<sse register>
* information about simple moves for sse is given to the register allocator
2004-11-02 18:23:16 +00:00
florian
143b4a8cb1 * <signed type> to qword range check for 64 bit targets fixed 2004-11-02 17:25:36 +00:00
peter
2e161c5e9e * nf_internal flag for internal inserted typeconvs. This will
supress the generation of warning/hints
2004-11-02 12:55:16 +00:00
peter
9b00c7832e * support > 32bit accesses for x86_64
* rewrote array size checking to support 64bit
2004-11-01 23:30:11 +00:00
florian
636f2ea7c9 * resource ansistrings now use aint for len and ref. count as well 2004-11-01 20:22:04 +00:00
florian
239dd7121e - removed unnecessary printnode 2004-11-01 18:26:52 +00:00
peter
0d506c579e * removed wrong check for symtableprocentry 2004-11-01 18:16:48 +00:00
florian
b8eb638978 * cg64f64 isn't used anymore 2004-11-01 17:44:27 +00:00
florian
73c30d6579 * fixed arm compilation with cgutils
* ...
2004-11-01 17:41:28 +00:00
florian
00a32c2b31 + added cgutils uses clause 2004-11-01 17:40:29 +00:00
florian
852ca7e923 + added sse instruction being not be able writing to a memory location 2004-11-01 17:30:17 +00:00
peter
2aceb6f856 * no checkpointer code for dynarr to openarr 2004-11-01 17:15:47 +00:00
peter
6a0aa09b20 * give IE instead of crash when no procsym is passed for calln 2004-11-01 16:58:57 +00:00
florian
1c569cbd08 * cvt*2* can't write to memory location, fixed 2004-11-01 15:42:47 +00:00
florian
6bdfe21f79 * default target for x86_64 is linux 2004-11-01 15:42:00 +00:00
florian
f0e07003be * fixed type information for dyn. arrays on 64 bit systems 2004-11-01 15:33:12 +00:00
peter
f02ebed09e * support @labelsym 2004-11-01 15:32:12 +00:00
peter
a2cbf27e96 * -Or fix for absolute 2004-11-01 15:31:57 +00:00
peter
f80f3fc0fa * shortstr compare with empty string fixed
* removed special i386 code
2004-11-01 12:43:28 +00:00
florian
13618bb9cd * fixed currency division 2004-11-01 12:10:26 +00:00
peter
1cf3aef0f0 * regalloc bind to instructions need to get real ait_instruction 2004-11-01 10:34:08 +00:00
peter
703e1cee60 * obsolete 2004-11-01 10:33:45 +00:00
peter
916041c81c * symlist typeconv for absolute fixed 2004-11-01 10:33:01 +00:00
peter
a66a2c855e * temp for dynarray copy needs to be typed 2004-11-01 10:32:27 +00:00
peter
91a00b5344 * procvar arguments need to be at least equal 2004-11-01 10:31:48 +00:00
peter
882cc700fb * fixed uninited var in a_load_reg_ref 2004-11-01 10:30:06 +00:00
florian
e5feec37cb * fixed handling of stack parameters on the arm 2004-11-01 09:23:01 +00:00
peter
9f811b8bca * remove previous patch 2004-11-01 08:02:26 +00:00
Jonas Maebe
dc71fc8290 * make sure live_start/end is never a tai_regalloc, as those can be
removed by the register allocator and thus become invalid. This fixed
    make cycle with -Or for ppc, but I'm not sure what the warning on
    symsym.pas:1663 means. Since the tlocation change, even regular make
    cycle doesn't work anymore though...
2004-10-31 23:18:29 +00:00
peter
1c0b14c9f7 * only allow ordinal-pointer for same size 2004-10-31 22:05:25 +00:00
peter
c95a859f0a * generic tlocation
* move tlocation to cgutils
2004-10-31 21:45:02 +00:00
peter
7d745c0483 * default paths fixed 2004-10-31 19:09:54 +00:00
peter
bc59556a41 * $fpctarget expands to <cpu>-<os>
* allow * in middle of the path to support ../*/units/$fpctarget
2004-10-31 18:54:24 +00:00
peter
d97d37ca78 * new unit dir 2004-10-31 18:40:51 +00:00
florian
7f20bc1c96 * fixed ie with pi_do_call 2004-10-31 16:47:43 +00:00
florian
36ca15cf07 * fixed compilation of system unit on arm 2004-10-31 16:04:30 +00:00
olle
8763a9166a + Change of the way global variables, with multiple entrypoints,
are referenced, fixes a lot of failed tests
2004-10-31 15:32:13 +00:00
olle
f8c9ad629c + All sections get names in macos 2004-10-31 15:29:39 +00:00
Jonas Maebe
c9eba4e861 * fixed web bug #3378 2004-10-31 15:17:08 +00:00
florian
a684d2669d * fixed jump table for sparc 2004-10-31 14:24:47 +00:00
florian
c8d7f6be2b * another couple of arm fixed 2004-10-31 12:37:11 +00:00
florian
3a06b4f0fd * jmp table code generation for case statement on sparc 2004-10-30 22:01:11 +00:00
florian
7eccede56f * initial revision, not yet enabled 2004-10-30 17:50:53 +00:00
florian
e04b172854 * fixed generic optimizer
* enabled generic optimizer for sparc
2004-10-30 15:21:37 +00:00
peter
86f78c7300 * units are now created in separate directory units/cpu-os/
* distclean uses cleanall rule and removes units dir
  * cross compile support fixed, it is now possible to cycle a ppcsparc
    without deleting ppc386
  * bintutilsperfix defaults to cpu-os-
2004-10-30 12:36:43 +00:00
olle
51fb338952 * reverted, for macos only, last change. 2004-10-28 18:29:44 +00:00
Jonas Maebe
e737e39888 * fixed bugs due to change of the value field of tlocation from aword to
aint
2004-10-26 18:22:31 +00:00
Jonas Maebe
0a32b9a526 * fixed tlocation record again for big endian
* fixed (currently unused) saved_standard_registers array
2004-10-26 18:22:04 +00:00
Jonas Maebe
c0b4a9026c + empty g_save_standard_registers/g_restore_standard_registers overrides
(their work was/is done by g_proc_entry/g_proc_exit, and the generic
     version saves the registers in the wrong place)
2004-10-26 18:21:29 +00:00
peter
759c010f6a * -Ch for heapsize added again
* __heapsize contains the heapsize
2004-10-26 15:11:01 +00:00
peter
ed07ab5f04 * localloc of staticsymtable needs a AT_NONE since it is a reference 2004-10-26 15:03:31 +00:00
peter
2e91bcf821 * align arraydef rtti 2004-10-26 15:02:33 +00:00
peter
5ec6609d11 * add saved_standard_registers 2004-10-25 17:04:51 +00:00
peter
e7459f5466 * heap and heapsize removed
* checkpointer fixes
2004-10-25 15:38:41 +00:00
peter
8706d9bec9 * help page updated 2004-10-25 15:37:50 +00:00
peter
d19663f3a8 * save standard registers moved to tcgobj 2004-10-25 15:36:47 +00:00
peter
30d25d1d2b * -Or fixes 2004-10-24 20:10:08 +00:00
peter
705868e816 * remove saveregister calling convention 2004-10-24 20:01:08 +00:00
florian
410d01458c * fixed several arm compiler bugs 2004-10-24 17:32:53 +00:00
peter
30be9e8e5d * during translation only process regalloc for the current regtype 2004-10-24 17:04:01 +00:00
peter
34756dfe4a * don't give warning for property as unknwon proc directive 2004-10-24 13:48:50 +00:00
peter
d24241b008 * gc-sections added when section smartlinking is used 2004-10-24 13:36:26 +00:00
peter
3eebc18aab * fixed writing of methodtable 2004-10-24 13:35:39 +00:00
peter
fcde2cab80 * support rodata like data when writing ordinal cosnts 2004-10-24 13:35:25 +00:00
peter
2ee2004032 * fixed compilation with removed loadref 2004-10-24 11:53:45 +00:00
peter
adb6f59eef * small regvar fixes
* loadref parameter removed from concatcopy,incrrefcount,etc
2004-10-24 11:44:28 +00:00
florian
60f0434585 * fixed compilation of arm compiler 2004-10-24 07:54:25 +00:00
florian
c6fbf26b6a * first arm fixes for new paraloc handling 2004-10-22 16:36:57 +00:00
Jonas Maebe
513b687ce7 + support for nostackframe directive 2004-10-20 07:32:42 +00:00
peter
f0723c54f0 * fixed compile error 2004-10-18 14:39:22 +00:00
olle
ee8e998b61 * Fixed printing of filedates 2004-10-16 22:46:14 +00:00
olle
6792b5ab16 * uppdated in accordance to varregable for OLDREGVARS 2004-10-16 13:08:49 +00:00
olle
f8646ff771 + added more support for macos 2004-10-16 13:03:13 +00:00
florian
39805b678a * fixed currency to float conversion 2004-10-15 22:54:53 +00:00
mazen
3c79b466b7 * remove non needed parathesys as in 1.140 2004-10-15 10:35:23 +00:00
mazen
3b092352e1 - remove $IFDEF DELPHI and related code
- remove $IFDEF FPCPROCVAR and related code
2004-10-15 09:30:13 +00:00
mazen
ad191865e3 - remove $IFDEF DELPHI and related code
- remove $IFDEF FPCPROCVAR and related code
2004-10-15 09:22:23 +00:00
mazen
581b52422c - remove $IFDEF DELPHI and related code
- remove $IFDEF FPCPROCVAR and related code
2004-10-15 09:14:16 +00:00
peter
498fce2317 * disable USE_SYSUTILS when compiled with 1.9.4 or 1.0.x 2004-10-14 18:29:22 +00:00
mazen
e90d8a42e3 * USE_SYSUTILS merged successfully : cycles with and without defines
* Need to be optimized in performance
2004-10-14 18:16:17 +00:00
peter
a4c5a55d1b * add reg_sync when regvars are allocated to fix first use in
loop
2004-10-14 17:54:06 +00:00
mazen
169f43ca6a * Dos and cpubase units in uses clause are not needed 2004-10-14 17:37:46 +00:00
mazen
4e2e51c4b1 * use SysUtils unit instead of Dos Unit 2004-10-14 17:26:04 +00:00
mazen
a1e416bb22 * use SysUtils unit instead of Dos Unit 2004-10-14 17:17:25 +00:00
mazen
e795e5c581 * use SysUtils unit instead of Dos Unit
+ overload Replace to use AnsiString
2004-10-14 17:10:15 +00:00
mazen
8a0fb3becf * use SysUtils unit instead of Dos Unit
+ overload Replace to use AnsiString
2004-10-14 16:53:26 +00:00
mazen
a8bf3670d5 * Merge is complete for this file, cycles ! 2004-10-14 16:49:14 +00:00
mazen
f37082e5ca * Merge is complete for this file, cycles ! 2004-10-14 16:38:38 +00:00
mazen
cdd920623b * Merge is complete for this file, cycles ! 2004-10-14 16:25:39 +00:00
mazen
573ff47a1e * use SysUtils unit instead of Dos Unit
+ overload Replace to use AnsiString
2004-10-14 14:55:12 +00:00
mazen
7321a78e1c * Merge is complete for this file, cycles ! 2004-10-14 14:47:52 +00:00
mazen
70fd9e8c81 + Needed types aliases to merge USE_SYSUTILS branch 2004-10-14 14:42:57 +00:00
mazen
75363a20b0 * Merge is complete for this file, cycles ! 2004-10-14 14:03:02 +00:00
michael
9e879f3931 * fix clearing of superregset (from Peter) 2004-10-14 10:59:58 +00:00
peter
60c73cc0e5 * -Or fixes for open array 2004-10-13 21:12:51 +00:00
peter
c25b06a836 * fix misplaced begin..end for self stabs
* no fpu regable for staticsymtable
2004-10-13 18:47:45 +00:00
peter
0395100a07 * reverted USE_SYSUTILS patch until ll patches are readyt 2004-10-13 17:58:54 +00:00
mazen
3df0e367c2 * Merge is complete for this file 2004-10-13 14:53:28 +00:00
peter
1bb51a2667 * all checking for visibility is now done by is_visible_for_object 2004-10-12 19:51:13 +00:00
peter
560a790a57 * gen high tree makes copy in temp when there is a calln 2004-10-12 14:36:38 +00:00
peter
4a7e02d817 * cstyle operators with calln in the tree now use a temp 2004-10-12 14:35:47 +00:00
peter
b5d1220bef * fixed crash when current_procinfo was not yet available 2004-10-12 14:35:14 +00:00
peter
6ffca1688e * fixed visibility for procsyms
* fixed override check when there was no entry yet
2004-10-12 14:34:49 +00:00
peter
f1ae6fb6d4 * give error when converting class to interface are not related 2004-10-12 14:33:41 +00:00
peter
cf20eafbe0 * don't generate stabs for self when it is in a regvar 2004-10-11 20:48:34 +00:00
peter
66df745917 * small regvar for para fixes
* function tvarsym.is_regvar added
  * tvarsym.getvaluesize removed, use getsize instead
2004-10-11 15:48:15 +00:00
peter
b0ebc06ce6 * removed warning about register used only once 2004-10-11 15:47:03 +00:00
peter
8b3e00244f * length parameter for copyvaluearray changed to tlocation 2004-10-11 15:46:45 +00:00
peter
d288070a7a * mark non-regable after calling convention is set 2004-10-11 15:45:35 +00:00
Jonas Maebe
99c6740d7d * include pi_do_call if we generate a call instead of internalerroring
(workaround)
2004-10-11 07:13:14 +00:00
peter
4f7667488b * parameter regvar fixes 2004-10-10 21:08:55 +00:00
peter
d6bffaf5c6 * fixed sparc compile
* fixed float regvar loading
2004-10-10 20:51:46 +00:00
peter
434475be33 * concatcopy_unaligned maps by default to concatcopy, sparc will
override it with call to fpc_move
2004-10-10 20:31:48 +00:00
peter
b0c25b50a0 * symtable allocation rewritten
* loading of parameters to local temps/regs cleanup
  * regvar support for parameters
  * regvar support for staticsymtable (main body)
2004-10-10 20:22:53 +00:00
peter
0573c742e4 * passing a var parameter to var parameter is now also allowed
for register locations (=regvars)
2004-10-10 20:21:18 +00:00
peter
c853d10cc2 * optimized spilling writing when the reg operand can be
replaced by reference
2004-10-10 16:30:26 +00:00
peter
044ec56b56 * default optimization cpu changed to CLassPentium3 2004-10-10 15:42:22 +00:00
Jonas Maebe
cf085fb9d0 * several fixes to allocregbetween() 2004-10-10 15:01:19 +00:00
Jonas Maebe
28e0869e6f - disabled oldregvars because it no longer compiles 2004-10-10 14:57:29 +00:00
peter
5ca70455ed regvar ppu writing doesn't affect any crc 2004-10-10 09:31:28 +00:00
olle
bf57e41ac5 * Exchanged hardcoded "./" to CurDirRelPath
* In FindObjectFile, when link on target, special handling is now
    only done for units.
2004-10-09 11:37:09 +00:00
olle
45e4998167 * Exchanged hardcoded "./" to CurDirRelPath 2004-10-09 11:29:15 +00:00
olle
61645ef149 + Added CurDirRelPath
* Exchanged hardcoded "./" to CurDirRelPath
2004-10-09 11:27:59 +00:00
olle
d87707fc6c * Refs to DEBUGINFO_<x> is now not inserted for target MacOS 2004-10-09 10:51:13 +00:00
olle
8461184f4b * minor fix 2004-10-09 10:48:34 +00:00
florian
016f2e9b15 * fixed storage of parameters passed by ref. 2004-10-08 20:52:07 +00:00
peter
63cf4464d3 * tvarsym.varregable added, split vo_regable from varoptions 2004-10-08 17:09:43 +00:00
florian
5051301b16 + non writeable unit output directory produces a nice error message now 2004-10-08 15:52:40 +00:00
peter
eaf46c4fb1 * live_registers must be restored after the spilling store code
is generate to add correct conflicts for extra temporary registers
2004-10-06 20:14:08 +00:00
Jonas Maebe
2b030488b2 * regvar fixes from Peter 2004-10-06 19:26:50 +00:00
Jonas Maebe
0cf348b3df * take into account the size of a write to determine whether a write to
one reference influences the contents of another reference
2004-10-06 19:24:38 +00:00
florian
30873fc9a8 * fixed generation of refs wiht large offsets, code still broken though 2004-10-05 21:29:29 +00:00
peter
f2a75dd91f * fixed location size for s64comp 2004-10-05 20:55:49 +00:00
peter
f5471aef6e * more spilling rewrites 2004-10-05 20:41:01 +00:00
florian
feeba0ede6 * bootstrapping with rtti alignment fixed 2004-10-05 20:21:02 +00:00
peter
fa3f491546 * range check errors fixed 2004-10-05 17:31:41 +00:00
florian
b39c0af01b * rtti alignment fixed 2004-10-04 21:23:15 +00:00
peter
4bdae840a3 * reverted a minor move in the order of tinschange. The order
is required by the optimizer. Added also a remark
2004-10-04 21:11:24 +00:00
peter
f10c319261 * fix x86_64 compile 2004-10-04 20:55:04 +00:00
peter
ee3585f56f * spilling code rewritten for x86. It now used the generic
spilling routines. Special x86 optimization still needs
    to be added.
  * Spilling fixed when both operands needed to be spilled
  * Cleanup of spilling routine, do_spill_readwritten removed
2004-10-04 20:46:22 +00:00
peter
ec720a5800 * insertlistbefore added 2004-10-04 20:43:28 +00:00
peter
ef7ae0eab1 * debuginfo fixes 2004-10-04 18:26:51 +00:00
peter
892daa42ec * AB_COMMON symbols need special relocation in stabs 2004-10-04 15:48:11 +00:00
florian
d57089732b * fixed dword->single/double on sparc 2004-10-03 19:21:56 +00:00
florian
001292bf50 * made sqrt, sqr and abs internal for the sparc 2004-10-03 12:41:30 +00:00
marco
ef6c8dc443 * small updates to make playing with sparc/sunos easier 2004-10-01 17:41:21 +00:00
peter
75cd5c80fa * indents 2004-10-01 17:33:47 +00:00
peter
d604b703cb * fix resizing of LOC_CREGISTER 2004-10-01 17:32:16 +00:00
peter
6d16520853 * don't add stabs for register variables 2004-10-01 15:22:22 +00:00
Tomas Hajny
39d6a252e2 * explicit typecast added to avoid range check error 2004-09-30 19:32:19 +00:00
florian
15d3388449 * fixed more sparc overflow stuff
* fixed some op64 stuff for sparc
2004-09-29 18:55:40 +00:00
mazen
83cb4fe087 * revert last change : removal of dos unit 2004-09-29 06:52:43 +00:00
peter
0af84db9cf * fixed crash 2004-09-28 20:19:36 +00:00
mazen
880427b9aa - remove Dos unit dependency 2004-09-28 16:00:52 +00:00
peter
6da9996dba * fixed passing of flaot parameters. The general size is still float,
only the size of the locations is now OS_32
2004-09-27 21:24:17 +00:00