Commit Graph

13382 Commits

Author SHA1 Message Date
mazen
ace3595b4f * TOldRegister isnow just an alias for TCpuRegister
* TCpuRegister is used to define cpu register set physically available
+ CpuRegs array to easially create correspondence between TCpuRegister and TRegister
2003-04-29 12:03:52 +00:00
mazen
e3431c55d9 * fixed bug of output generated assembler for a_cmp_const_ref_label 2003-04-29 11:58:21 +00:00
mazen
ca247392ff + This file is used to define all cpu registers physically available 2003-04-29 11:53:38 +00:00
mazen
03a19b6668 * signification of ths faile has changed.
* It was used to declare the cpu registers physically available
* Now, it is used to define the register allocators paris (enum,number)
2003-04-29 11:52:52 +00:00
mazen
087d28fbcb * test of invalid opcode/operand combination gives internal error 2003-04-29 11:06:15 +00:00
mazen
12b5bae421 * instruction are moved lowercase to allow using old assmeblers 2003-04-29 10:00:31 +00:00
mazen
ab4f1c908b + test of FOR statment 2003-04-29 08:04:30 +00:00
michael
cf68b27bb9 + Patch from peter to fix wrong pushing of ansistring function results in open array 2003-04-29 07:28:52 +00:00
peter
dfd469b7a3 * fix stabs generation for implicit initfinal 2003-04-28 21:19:02 +00:00
peter
7c733ebcca * write sec_none info in extdebug 2003-04-28 21:17:53 +00:00
peter
6d57995944 * do not finalize function results 2003-04-28 21:17:38 +00:00
marco
8c0d65c9f3 * gnome stuff + tcl enabled for *BSD 2003-04-28 20:53:18 +00:00
peter
5af7a2c7a0 * sharedlib is placed in exe outputdir 2003-04-28 16:18:16 +00:00
peter
c65de49aa4 * fix dbdigest build 2003-04-28 16:07:18 +00:00
peter
dffc772b3b * regenerated to support 1.1 compiler 2003-04-28 14:46:16 +00:00
mazen
04e19cce0d - InternalError removed from TSparcCallNode.push_framepointer as it is called by common coplier code. 2003-04-28 09:49:58 +00:00
mazen
c475df7735 + max_scratch_regs variable added because requested by common compiler code 2003-04-28 09:46:30 +00:00
mazen
fad91e6369 + NOP after conditional jump instruction to prevent delay slot execution 2003-04-28 09:44:42 +00:00
mazen
5e741c4ca2 * Debug message in SetCondition more explicit. 2003-04-28 09:40:47 +00:00
sg
e0085f7dcd * Commented out the initialisation check, because this function doesn't
exist anymore in recent versions of the OpenGL units
2003-04-27 23:41:30 +00:00
sg
7343e56b58 * Added typecast to prevent range check error in TProcess.WaitOnExit 2003-04-27 21:21:42 +00:00
sg
ed747b102b * Fixed TComponent.ValidateRename 2003-04-27 21:16:11 +00:00
Jonas Maebe
d03841dc16 * store register para's to memory before copying the valuepara's, because
that one requires them to be there already (and it calls subroutines ->
    could overwrite those registers)
2003-04-27 16:30:34 +00:00
Jonas Maebe
800d0eabd1 * support nil as parameter and some other fixes 2003-04-27 16:25:08 +00:00
Jonas Maebe
603c27f04f - disabled fpc_shortstr_concat because it's called differently than that
routine is declared
2003-04-27 16:24:44 +00:00
Jonas Maebe
7a3e1b917c * fixed Florian's quick hack :)
* fixed small bug 64bit range checking code
2003-04-27 14:48:09 +00:00
Jonas Maebe
cfe94be378 * fixed overflow checking form of 64bit add instruction 2003-04-27 11:55:34 +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
Jonas Maebe
92ac35cc37 * fixed 64bit "const - reg/ref" bugs 2003-04-27 11:06:06 +00:00
peter
8a2ff92754 * add -Ur so units won't be recompiled 2003-04-27 10:48:24 +00:00
florian
d4ca538a40 * fixed nested procedures to get them working as before 2003-04-27 10:41:47 +00:00
Jonas Maebe
e514b12f7a * fixed stabs generation for local variables on systems where they have
a positive offset relative to the stack/framepointer
2003-04-27 10:03:18 +00:00
florian
098caf591c * aprocdef instead of aktprocdef must be used 2003-04-27 09:14:48 +00:00
florian
886dae65fe * quick fix for param64 for intel 2003-04-27 09:10:49 +00:00
Jonas Maebe
b19a9cfc0a * do callparatemp stuff only after the parameters have been firstpassed,
because some nodes are turned into calls during the firstpass
2003-04-27 09:08:44 +00:00
florian
887d64f038 * another compile fix 2003-04-27 08:52:00 +00:00
peter
3bda511c4a * compile fix 2003-04-27 08:50:45 +00:00
florian
80b1ccdd76 * fixed parameter passing for 64 bit ints 2003-04-27 08:23:51 +00:00
peter
a5e7f02527 * updated for removed lexlevel 2003-04-27 07:48:05 +00:00
peter
7f14891d66 * aktprocdef cleanup, aktprocdef is now always nil when parsing
a new procdef declaration
  * aktprocsym removed
  * lexlevel removed, use symtable.symtablelevel instead
  * implicit init/final code uses the normal genentry/genexit
  * funcret state checking updated for new funcret handling
2003-04-27 07:29:50 +00:00
Jonas Maebe
38d7ec6670 * fix to a_op64_const_reg_reg 2003-04-26 22:56:11 +00:00
florian
4450957bdd * fixed para locations of fpc_class_new helper call 2003-04-26 20:57:17 +00:00
Jonas Maebe
f30ce9c922 * fixed and re-enabled routines commented out by Florian :) 2003-04-26 20:37:17 +00:00
Jonas Maebe
49497382c0 * trunc now also supports int64 (no NaN's etc though) 2003-04-26 20:36:24 +00:00
florian
19946413fe * fixed setjmp record size 2003-04-26 20:15:22 +00:00
daniel
b899ea5469 * Bug fix in simplify 2003-04-26 20:03:49 +00:00
florian
6c836488dd * fixed previous commit of setjmp 2003-04-26 20:00:24 +00:00
florian
fbea62cf74 + implemented longjmp 2003-04-26 19:52:07 +00:00
peter
fd278ee582 * print lineinfo for internalerror 2003-04-26 19:32:31 +00:00
florian
e7130af5a8 + implemented setjmp record and longjmp 2003-04-26 18:54:30 +00:00