Commit Graph

113 Commits

Author SHA1 Message Date
peter
ba170472db * fpcmake updated 1999-11-10 22:10:44 +00:00
peter
3835a94b89 * compiles again both i386,alpha both with optimizer 1999-11-09 22:57:08 +00:00
peter
1d8ee73e62 * fpcmake 1999-11-09 22:55:19 +00:00
florian
3d9daba4c7 * some fixes to get the new cg compiling again 1999-11-05 13:15:00 +00:00
Jonas Maebe
b3276fa59e + a_jmp_cond() 1999-11-05 07:05:56 +00:00
Jonas Maebe
e10deeca37 + initial implementation 1999-11-03 14:13:59 +00:00
Jonas Maebe
9feb0d4b0e + entry/exitcode for SystemV (Linux) and AIX/Mac from the Altivec
PIM (no AltiVec support yet though)
  * small fix to the a_cmp_* methods
1999-10-24 09:22:18 +00:00
florian
0dd2b51943 * problems with readln fixed: esi wasn't restored correctly when
reading ordinal fields of objects futher the register allocation
    didn't take care of the extra register when reading ordinal values
  * enumerations can now be used in constant indexes of properties
1999-10-21 16:41:37 +00:00
Jonas Maebe
6de203e9dc * fixed a_loadaddress_ref_reg (mentioned as ToDo in rev. 1.5)
* small bugfix in a_load_store
1999-10-20 12:23:24 +00:00
Jonas Maebe
8f3c1464d5 * changed scratch_registers to (R_11,_R12,R_30) because R_0 is a special
case and R_31 is used as some kind of frame pointer under LinuxPPC
1999-10-20 12:21:34 +00:00
florian
fa19f0aa09 - removed the hcodegen use in the new cg, use cgbase instead 1999-10-14 14:57:51 +00:00
florian
8b9633266b * new codegenerator compiles again 1999-10-12 21:20:41 +00:00
Jonas Maebe
167f8d654f * fixes from daopt386.pas integrated 1999-09-29 13:50:34 +00:00
florian
796234f596 * fixed bug #292 from bugs directory 1999-09-29 11:46:18 +00:00
florian
1c638f2952 * small fix to operator overloading when in MMX mode
+ the compiler uses now fldz and fld1 if possible
  + some fixes to floating point registers
  + some math. functions (arctan, ln, sin, cos, sqrt, sqr, pi) are now inlined
  * .... ???
1999-09-15 20:35:37 +00:00
florian
134030a529 * only small updates to work with the current compiler 1999-09-14 11:16:09 +00:00
florian
a9d8bfa1f7 * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid)
* most things for stored properties fixed
1999-09-10 18:48:00 +00:00
Jonas Maebe
d8cce3f25a * some small changes so the new optimizer is again compilable 1999-09-08 15:05:43 +00:00
Jonas Maebe
28ddb689cb * some small changes so the noew optimizer is again compilable 1999-09-08 15:01:29 +00:00
Jonas Maebe
56ddb9a0af + implemented most necessary methods 1999-09-03 13:15:47 +00:00
Jonas Maebe
f4180329fc + implemented some parameter passing methods, but they require\n some more helper routines\n * fix for loading symbol addresses (still needs to be done in a_loadaddress)\n * several changes to the way conditional branches are handled 1999-09-03 13:14:11 +00:00
Jonas Maebe
818885454f * several changes to the way conditional branches are handled\n * some typos fixed 1999-09-03 13:11:59 +00:00
Jonas Maebe
3086a9f355 * condition is now zeroed using fillchar\n because on powerpc it's a record now 1999-09-03 13:10:11 +00:00
Jonas Maebe
6be94d5604 * fixed typo regarding scratchregs pointer 1999-09-03 13:09:09 +00:00
Jonas Maebe
4abc13fd78 * defined some necessary virtual helper methods 1999-09-03 13:08:36 +00:00
Jonas Maebe
acc55a83c7 * first implementation of concatcopy (requires 4 scratch regs) 1999-08-26 14:53:41 +00:00
Jonas Maebe
6531f55008 * added segprefix field for i386 in tainstruction object 1999-08-26 14:52:59 +00:00
Jonas Maebe
fc6b6505fd * changed get_scratch_reg so it actually uses the\n scratch_reg_array_pointer 1999-08-26 14:51:54 +00:00
Jonas Maebe
bb974dc8aa * fixed small type in TP conditional 1999-08-26 14:50:52 +00:00
Jonas Maebe
5fc1435036 * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) 1999-08-25 11:59:32 +00:00
pierre
009aaad4a9 + dummy InitCpu/DoneCpu 1999-08-23 23:27:54 +00:00
Jonas Maebe
1ec81566cc + checksequence (processor independent)\n + processor independent part of docse 1999-08-23 14:41:12 +00:00
florian
2359c7c013 + initial revision 1999-08-18 19:29:39 +00:00
florian
c512d38256 + implemented initilizing of data for the new code generator
so it should compile now simple programs
1999-08-18 17:05:53 +00:00
Jonas Maebe
56524f33df + compilable!
+ dataflow analyzer finished
  + start of CSE units
  + aoptbase which contains a base object for all optimizer objects
  * some constants and type definitions moved around to avoid circular
    dependencies
  * moved some methods from base objects to specialized objects because
    they're not used anywhere else
1999-08-18 14:32:20 +00:00
daniel
157bc635ce * Fixed bugs. 1999-08-16 12:54:02 +00:00
Jonas Maebe
25a7035988 - removed RefsHaveSymbol define (I think references on all processors can have a symbol) 1999-08-11 14:24:38 +00:00
Jonas Maebe
1d923a08ec * some fixes to RegReadByInstr 1999-08-11 14:23:39 +00:00
Jonas Maebe
265f3c09be + first version, added TAsmDFACpu object and CpuDFA method 1999-08-11 14:22:56 +00:00
Jonas Maebe
dbb0bebac9 * finished DoDFAPass2 1999-08-11 14:20:51 +00:00
Jonas Maebe
aa5615a2e1 * InstrSinceLastMod parameter added to destroy/modify methods 1999-08-11 14:20:11 +00:00
Jonas Maebe
2e53fd266b + implemented RegReadByInstr 1999-08-10 12:40:20 +00:00
Jonas Maebe
f45d657875 commit.msg 1999-08-09 14:07:22 +00:00
Jonas Maebe
909329d3f2 * movzed all files to new directory 1999-08-08 13:34:42 +00:00
Jonas Maebe
ff29bf7480 + added copyright header/GNU license info
* made the assembler optimizer almost completely OOP
  * some code style clean up and extra comments
  * moved from the new/aopt to the /new and /new/i386 dirs
1999-08-08 13:24:50 +00:00
florian
e6c1b96cff * some small problems fixed 1999-08-07 14:20:55 +00:00
florian
8abdd311fd * implemented some stuff for assignments 1999-08-06 18:05:52 +00:00
florian
ef92444ffd + definition of concatcopy 1999-08-06 17:00:54 +00:00
Jonas Maebe
0284ece771 + first commit (nothing compilable, still needs to be made more OOP) 1999-08-06 16:49:15 +00:00
Jonas Maebe
ec34af8955 * PowerPC compiles again, several routines implemented in cgcpu.pas
* added constant to cpubase of alpha and powerpc for maximum
    number of operands
1999-08-06 16:41:10 +00:00