Forráskód Böngészése

* simplify_ppu is now the default, a recompile of the compiler now
only compiles pp.pas

peter 24 éve
szülő
commit
b9cb031a39
3 módosított fájl, 22 hozzáadás és 9 törlés
  1. 6 2
      compiler/globals.pas
  2. 10 2
      compiler/i386/cpuswtch.pas
  3. 6 5
      compiler/options.pas

+ 6 - 2
compiler/globals.pas

@@ -214,7 +214,7 @@ interface
        { used to set all registers used for each global function
          this should dramatically decrease the number of
          recompilations needed PM }
-       simplify_ppu : boolean = false;
+       simplify_ppu : boolean = true;
 
        { should we allow non static members ? }
        allow_only_static : boolean = false;
@@ -1273,7 +1273,11 @@ begin
 end.
 {
   $Log$
-  Revision 1.33  2001-05-06 14:49:17  peter
+  Revision 1.34  2001-05-12 12:11:31  peter
+    * simplify_ppu is now the default, a recompile of the compiler now
+      only compiles pp.pas
+
+  Revision 1.33  2001/05/06 14:49:17  peter
     * ppu object to class rewrite
     * move ppu read and write stuff to fppu
 

+ 10 - 2
compiler/i386/cpuswtch.pas

@@ -56,7 +56,11 @@ begin
                  'a' : initglobalswitches:=initglobalswitches+[cs_align];
                  'g' : initglobalswitches:=initglobalswitches+[cs_littlesize];
                  'G' : initglobalswitches:=initglobalswitches-[cs_littlesize];
-                 'r' : initglobalswitches:=initglobalswitches+[cs_regalloc];
+                 'r' :
+                   begin
+                     initglobalswitches:=initglobalswitches+[cs_regalloc];
+                     Simplify_ppu:=false;
+                   end;
                  'u' : initglobalswitches:=initglobalswitches+[cs_uncertainopts];
                  '1' : initglobalswitches:=initglobalswitches-[cs_fastoptimize,cs_slowoptimize]+[cs_optimize];
                  '2' : initglobalswitches:=initglobalswitches-[cs_slowoptimize]+[cs_optimize,cs_fastoptimize];
@@ -117,7 +121,11 @@ initialization
 end.
 {
   $Log$
-  Revision 1.2  2000-12-23 19:46:49  peter
+  Revision 1.3  2001-05-12 12:11:31  peter
+    * simplify_ppu is now the default, a recompile of the compiler now
+      only compiles pp.pas
+
+  Revision 1.2  2000/12/23 19:46:49  peter
     * object to class conversion
     * more verbosity for -vt and -vd
     * -i options can be put after eachother so the Makefiles only need

+ 6 - 5
compiler/options.pas

@@ -394,10 +394,7 @@ begin
                       while j <= length(more) Do
                         Begin
                           case more[j] of
-                            'a' : If UnsetBool(More, j) then
-                                    Simplify_ppu:=false
-                                  else
-                                    Simplify_ppu:=true;
+                            'a' : Message2(option_obsolete_switch_use_new,'-Ca','-Or');
                             'h' :
                                begin
                                  val(copy(more,j+1,length(more)-j),heapsize,code);
@@ -1556,7 +1553,11 @@ finalization
 end.
 {
   $Log$
-  Revision 1.40  2001-04-18 22:01:54  peter
+  Revision 1.41  2001-05-12 12:11:31  peter
+    * simplify_ppu is now the default, a recompile of the compiler now
+      only compiles pp.pas
+
+  Revision 1.40  2001/04/18 22:01:54  peter
     * registration of targets and assemblers
 
   Revision 1.39  2001/04/13 01:22:10  peter