Commit Graph

2309 Commits

Author SHA1 Message Date
pierre
b3a9e650f2 * Reset file name to empty at end of code section 2000-02-18 12:31:07 +00:00
Jonas Maebe
1571d1666b * fixed crashing bug when trying to write an undefined fp var with
formatting parameters
2000-02-17 15:39:29 +00:00
florian
dfe879d12e * some updates for the newcg 2000-02-17 14:53:42 +00:00
florian
2449cd4148 * updated to use old firstpass 2000-02-17 14:48:36 +00:00
Jonas Maebe
aafacbb44b * -dreplacereg no logner tries to optimize "movl %reg1,%reg1" (which are
always marked as CanBeRemoved)
  + some comments in -dreplacereg code
  * small fix which could cause crash when optimizer is compiler with -dTP
2000-02-17 07:46:49 +00:00
florian
b2efa0f338 * disable FIXED data type per default 2000-02-15 14:36:45 +00:00
florian
85b946e6d4 * fixed another internalerror 2000-02-14 22:34:28 +00:00
marco
c23e9edb97 * Basic structures for new sethandling implemented. 2000-02-14 20:58:43 +00:00
florian
2b186c7222 * fixed set problem s:=[<word>]; 2000-02-14 18:12:50 +00:00
florian
2f623caf67 * fixed an internalerror with writeln
* fixed arrayconstructor_to_set to force the generation of better code
    and added a more strict type checking
2000-02-13 22:46:27 +00:00
Jonas Maebe
0ab87d5ed8 * modifications to make the compiler functional when compiled with
-Or
2000-02-13 14:21:50 +00:00
carl
938b005d15 * bugfixes in tokens using TP conditional 2000-02-12 23:53:18 +00:00
Jonas Maebe
958d6dacef * fix for imul optimization in popt386 (exclude top_ref as first
argument)
  * in csopt386: change "mov reg1,reg2; <several operations on reg2>;
    mov reg2,reg1" to "<several operations on reg1>" (-dnewopt...)
2000-02-12 19:28:56 +00:00
Jonas Maebe
0cbad4fe45 + change "mov reg1,reg2;imul x,reg2" to "imul x,reg1,reg2" in popt386
(-dnewoptimizations)
  * shl(d) and shr(d) are considered to have a hardcoded register if
    they use cl as shift count (since you can't replace them with
    another register) in csopt386 (also for -dnewoptimizations)
2000-02-12 14:10:14 +00:00
Jonas Maebe
bee612f94a * fixed edi allocation in allocRegBetween
* fixed bug I introduced yesterday, added comment to prevent it from
    happening again in the future
2000-02-12 10:54:18 +00:00
Jonas Maebe
674a208dbf + {$asmmode att} for people with -Rintel in their ppc386.cfg 2000-02-11 23:59:35 +00:00
Jonas Maebe
89abe234d9 * fixed crashing bug under Dos with -dnewoptimizations (found it,
John!). Don't understand why it didn't crash under Linux :(
2000-02-11 23:50:03 +00:00
michael
99cdd6795a Latest changes from Michail Baikov 2000-02-11 16:33:37 +00:00
pierre
12d4917565 * avoid stack overflow in tref.done (bug 846) 2000-02-11 13:53:49 +00:00
florian
05e486a068 * big update for exception handling code generation: possible mem holes
fixed, break/continue/exit should work always now as expected
2000-02-10 23:44:42 +00:00
Jonas Maebe
9e85007190 * fixed stupid typo! 2000-02-10 16:04:43 +00:00
peter
3385467467 * dont' check for ppl files as they aren't used atm. 2000-02-10 16:00:23 +00:00
Jonas Maebe
e558713f0c * fixed small bug introduced with my previous fix 2000-02-10 15:07:41 +00:00
Jonas Maebe
8a40388de3 * fixed bug due to lack of support for top_symbol operands 2000-02-10 14:57:13 +00:00
peter
5aec5872b6 * addpath fixed with list of paths when inserting at the beginning
* if exepath=currentdir then it's not inserted in path list
  * searchpaths in ppc386.cfg are now added at the beginning of the
    list instead of at the end. (commandline is not changed)
  * check paths before inserting in list
2000-02-10 11:45:48 +00:00
Jonas Maebe
88652eee6b * esi is never deallocated anymore in methods 2000-02-10 11:27:18 +00:00
Jonas Maebe
7ff7b4c2c3 * added regallocs for esi 2000-02-09 18:08:33 +00:00
Jonas Maebe
95f2c6f732 * added missing regalloc for ecx in range check code 2000-02-09 17:36:10 +00:00
peter
a2318ce5ec * regenerated 2000-02-09 14:29:22 +00:00
peter
4a4a24b6e8 * log truncated 2000-02-09 13:22:42 +00:00
peter
c93f83e22e * usage shows yyyy-mm-dd 2000-02-09 13:08:27 +00:00
peter
1612077d8d * -Xt option to link staticly against c libs 2000-02-09 10:35:48 +00:00
peter
119ebd56c6 * reset section back to code after localdata 2000-02-08 13:55:13 +00:00
peter
fe4d62cf91 * ppuclean target, which is used by for the ide compiling so a new
generated ppc386.exe can still be used as compiler
2000-02-08 00:10:53 +00:00
peter
2eb25f4422 * regenerated 2000-02-08 00:09:21 +00:00
peter
55537f904c * quick hack for fnstsww which is not supported under linux as 2000-02-07 17:51:20 +00:00
peter
85087cf8c2 * -gl option added 2000-02-07 12:19:26 +00:00
michael
af462205ba + Changed bash to sh 2000-02-07 11:52:26 +00:00
peter
f0efb42197 * -gl switch for auto lineinfo including 2000-02-06 17:20:52 +00:00
florian
f6f3a1a039 *** empty log message *** 2000-02-06 17:17:03 +00:00
peter
00cd43e466 * refer to prog manual instead of cws 2000-02-06 13:00:05 +00:00
florian
7ab03a6efc * for some strange reasons my fix regarding register variable
allocation was lost
2000-02-05 15:57:58 +00:00
florian
a44fb4a474 * fixed init table generation for classes and arrays 2000-02-05 14:33:32 +00:00
peter
7304829f53 * property check for assigning fixed for calln 2000-02-05 12:11:50 +00:00
florian
1081fc6d3b * some (small) problems with register saving fixed 2000-02-04 21:00:31 +00:00
florian
a0cc4f970b * an exception in a construcor calls now the destructor (this applies only
to classes)
2000-02-04 20:00:21 +00:00
Jonas Maebe
16e46c496c * moved call to resetusableregs to compile_proc_body (put it right before the
reset of the temp generator) so the optimizer can know which registers are
    regvars
2000-02-04 14:54:17 +00:00
pierre
9572b14dea + add pseudo local var parent_ebp for local procs 2000-02-04 14:29:57 +00:00
Jonas Maebe
245975562b * fpuloadstore optimizations are now done before and after the CSE 2000-02-04 13:53:04 +00:00
Jonas Maebe
4e361ef71f * better support for regvars (still needs a move of the call to the optimize
procedure to a place where resetusableregisters is not yet called to work)
  * small regallocation fixes for -dnewoptimizations
2000-02-04 13:52:17 +00:00