Commit Graph

3809 Commits

Author SHA1 Message Date
carl
284386907c + added wdosx support (patch from Pavel) 2002-04-04 18:50:27 +00:00
carl
0ee2ac7451 + added wdosx support (patch from Pavel) 2002-04-04 18:30:22 +00:00
carl
555c30ce2f + added wdosx support (patch from Pavel) 2002-04-04 18:27:37 +00:00
carl
303ad5eeaa + added wdosx patch from Pavel 2002-04-04 18:25:30 +00:00
carl
db5e51182c + added wdosx patch from Pavel 2002-04-04 18:09:49 +00:00
michael
e043c5af70 * Patch from peter to fix go32v2 cycle 2002-04-04 07:56:15 +00:00
Jonas Maebe
807cf0000b * fixed regvar-related bugs (the load node set the location to
LOC_REGISTER instead of LOC_CREGISTER and the assignment node didn't
    support loading constants in LOC_CREGISTER's)
2002-04-03 10:43:37 +00:00
Jonas Maebe
f02bc4f6f6 + a_load64_const_loc method 2002-04-03 10:41:35 +00:00
Jonas Maebe
adb8b9eabf + support for folding inc/dec in shl/add/sub sequences toa single lea
instruction
2002-04-02 20:30:16 +00:00
Jonas Maebe
36699776ee * optimized the code generated by the a_op_const_* and a_op64_const
methods
2002-04-02 20:29:02 +00:00
carl
1a6c7fc693 - remove unused file 2002-04-02 18:23:16 +00:00
Jonas Maebe
7cacd3b48d + initial implementation (Peter forgot to commit it) 2002-04-02 18:09:47 +00:00
peter
5b242f7741 * tlocation,treference update
* LOC_CONSTANT added for better constant handling
  * secondadd splitted in multiple routines
  * location_force_reg added for loading a location to a register
    of a specified size
  * secondassignment parses now first the right and then the left node
    (this is compatible with Kylix). This saves a lot of push/pop especially
    with string operations
  * adapted some routines to use the new cg methods
2002-04-02 17:11:27 +00:00
Jonas Maebe
511582cde3 * fixed nasty bug in "and" peepholeoptimization that caused wrong
optimizations after Peter's big location patch
2002-04-02 13:01:58 +00:00
Jonas Maebe
2965034fca * fixed web bug #1907
* fixed some other procvar related bugs (all related to accepting procvar
      constructs with either too many or too little parameters)
  (both merged, includes second typo fix of pexpr.pas)
2002-04-01 20:57:13 +00:00
Jonas Maebe
43368392e2 * fixed different parameter name in interface and implementation
declaration of a method (only 1.0.x detected this)
2002-04-01 19:24:25 +00:00
Jonas Maebe
d2f48094fe - removed (its functionality is now in tgobj) 2002-04-01 19:23:16 +00:00
armin
1179c13288 addToLocalThreadvarList used '_'+name instead of mangledname to find asm symbol 2002-04-01 13:43:32 +00:00
Jonas Maebe
313e7a0053 * better fix for new/dispose bug with init/final data 2002-04-01 09:44:04 +00:00
Jonas Maebe
7fb55bf4e4 + a_loadfpu_* and a_loadmm_* methods in tcg
* register allocation is now handled by a class and is mostly processor
    independent (+rgobj.pas and i386/rgcpu.pas)
  * temp allocation is now handled by a class (+tgobj.pas, -i386\tgcpu.pas)
  * some small improvements and fixes to the optimizer
  * some register allocation fixes
  * some fpuvaroffset fixes in the unary minus node
  * push/popusedregisters is now called rg.save/restoreusedregisters and
    (for i386) uses temps instead of push/pop's when using -Op3 (that code is
    also better optimizable)
  * fixed and optimized register saving/restoring for new/dispose nodes
  * LOC_FPU locations now also require their "register" field to be set to
    R_ST, not R_ST0 (the latter is used for LOC_CFPUREGISTER locations only)
  - list field removed of the tnode class because it's not used currently
    and can cause hard-to-find bugs
2002-03-31 20:26:33 +00:00
carl
47a81e6215 * avoid crash with procinfo ('merged') 2002-03-30 23:12:09 +00:00
carl
c50d06d4de * avoid crash with inline routines 2002-03-30 23:02:42 +00:00
armin
b9f1677a0c + support check-function for netware 2002-03-30 09:09:47 +00:00
armin
6b6df5ee46 + allow exports for netware 2002-03-29 17:19:50 +00:00
carl
94870b1eb7 - remove go32v1 version 2002-03-29 17:15:03 +00:00
peter
2750eb5017 * fixed memory corruption created by previous fix 2002-03-29 13:29:32 +00:00
michael
8e7bb6837f + Patch from Pavel Ozerski 2002-03-29 11:23:24 +00:00
armin
0de84898a3 + forgot to delete a debug writeln 2002-03-29 09:00:56 +00:00
carl
eb09d6061c - remove go32v1 support 2002-03-28 20:46:44 +00:00
armin
8eaa0d86d5 + new flag if unit has local threadvars 2002-03-28 16:44:59 +00:00
armin
ed209a3961 + initialize threadvars defined local in units 2002-03-28 16:07:52 +00:00
carl
cbe6e19729 + patch for SPARC from Mazen NEIFER 2002-03-24 19:04:31 +00:00
armin
23c2c3f420 + smart linking now works with netware 2002-03-19 20:23:57 +00:00
peter
927c693482 * fix source location in zips for packages and demos 2002-03-19 19:36:55 +00:00
peter
58218bf81f * Regenerated with updated fpcmake 2002-03-11 19:10:28 +00:00
peter
b4cc4b7b01 * removed compiler warnings 2002-03-04 19:10:11 +00:00
peter
4b2aa039e6 * allow oridinal labels again 2002-03-04 17:54:59 +00:00
carl
82df04cacf + fix magic for non-linux shells 2002-03-03 15:17:29 +00:00
Tomas Hajny
1d3e33cd0f * importprocedure fix by Armin Diehl 2002-03-03 13:00:39 +00:00
peter
b5936b1588 * fixed // and (* parsing to not be done when already parsing a
tp comment in skipuntildirective
2002-03-01 14:39:44 +00:00
peter
708f10ddf1 * parasym added 2002-03-01 14:08:47 +00:00
peter
935bb2185a * fixed sizeof(TClass) to return only 4 2002-03-01 14:08:26 +00:00
pierre
31b63823db * used shl 7 for release number 2002-03-01 12:47:21 +00:00
peter
bd6dcff932 * fixed Message4() 2002-03-01 12:41:40 +00:00
peter
cb16c423fe * support // parsing in skipuntildirective 2002-03-01 12:39:26 +00:00
peter
9b385a2ab7 * regenated 2002-02-28 21:30:32 +00:00
Jonas Maebe
87549dfb5e * fixed problem when compiling the compiler with Delphi (reported by
"Luc Langlois" <L_Langlois@Videotron.ca>) (lo/hi don't work as in FPC
    when used with int64's under Delphi)
2002-02-26 09:12:39 +00:00
peter
43cf3a68eb * fixed vmt generation for private procedures that were skipped after
my previous changes
2002-02-11 18:51:35 +00:00
michael
30c1ee7971 * Compilation without mmx support fixed from Peter 2002-02-11 11:45:51 +00:00
Jonas Maebe
62e4cfefc1 * fixed severe slowdown when compiling a program with arrays that have
a lot (15+) dimensions ("merged")
2002-02-04 08:16:07 +00:00