Browse Source

Revert commit 33771 and directly replace cpu8086 by cpui8086 which is always defined by ppc8086 compiler

git-svn-id: trunk@33773 -
pierre 9 years ago
parent
commit
345361beef

+ 1 - 1
tests/test/cg/tcalcla1.pp

@@ -27,7 +27,7 @@ program tcalcla1;
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
+{$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
   {$if defined(FPC_MM_LARGE) or defined(FPC_MM_HUGE)}
   {$if defined(FPC_MM_LARGE) or defined(FPC_MM_HUGE)}
     {$hugecode on}
     {$hugecode on}

+ 1 - 1
tests/test/cg/tcalcst1.pp

@@ -31,7 +31,7 @@ program tcalcst1;
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
+{$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
 
 

+ 1 - 1
tests/test/cg/tcalcst2.pp

@@ -31,7 +31,7 @@ program tcalcst2;
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
+{$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
 
 

+ 1 - 1
tests/test/cg/tcalcst3.pp

@@ -32,7 +32,7 @@ program tcalcst3;
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
+{$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
 
 

+ 1 - 1
tests/test/cg/tcalcst4.pp

@@ -32,7 +32,7 @@ program tcalcst4;
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
+{$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
 
 

+ 1 - 1
tests/test/cg/tcalcst5.pp

@@ -33,7 +33,7 @@ program tcalcst5;
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
+{$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
 
 

+ 1 - 1
tests/test/cg/tcalcst6.pp

@@ -38,7 +38,7 @@ program tcalcst6;
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
+{$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
 
 

+ 1 - 1
tests/test/cg/tcalcst7.pp

@@ -32,7 +32,7 @@ program tcalcst7;
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
+{$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
 
 

+ 1 - 1
tests/test/cg/tcalcst8.pp

@@ -32,7 +32,7 @@ program tcalcst8;
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
+{$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
 
 

+ 0 - 3
tests/test/cg/tcalfun1.pp

@@ -35,9 +35,6 @@
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
-  {$define cpusmall}
-{$endif}
 {$ifdef cpui8086}
 {$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}

+ 0 - 3
tests/test/cg/tcalfun2.pp

@@ -35,9 +35,6 @@
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
-  {$define cpusmall}
-{$endif}
 {$ifdef cpui8086}
 {$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}

+ 0 - 3
tests/test/cg/tcalfun3.pp

@@ -35,9 +35,6 @@
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
-  {$define cpusmall}
-{$endif}
 {$ifdef cpui8086}
 {$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}

+ 0 - 3
tests/test/cg/tcalfun4.pp

@@ -37,9 +37,6 @@
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
-  {$define cpusmall}
-{$endif}
 {$ifdef cpui8086}
 {$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}

+ 0 - 3
tests/test/cg/tcalfun6.pp

@@ -35,9 +35,6 @@
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
-  {$define cpusmall}
-{$endif}
 {$ifdef cpui8086}
 {$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}

+ 0 - 3
tests/test/cg/tcalfun7.pp

@@ -35,9 +35,6 @@
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
-  {$define cpusmall}
-{$endif}
 {$ifdef cpui8086}
 {$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}

+ 0 - 3
tests/test/cg/tcalfun8.pp

@@ -35,9 +35,6 @@
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
-  {$define cpusmall}
-{$endif}
 {$ifdef cpui8086}
 {$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}

+ 1 - 1
tests/test/cg/tcalobj1.pp

@@ -23,7 +23,7 @@ program tcalobj1;
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
+{$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
 
 

+ 1 - 1
tests/test/cg/tcalobj2.pp

@@ -23,7 +23,7 @@ program tcalobj2;
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
+{$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
 
 

+ 1 - 1
tests/test/cg/tcalobj3.pp

@@ -23,7 +23,7 @@ program tcalobj3;
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
+{$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
 
 

+ 1 - 1
tests/test/cg/tcalobj4.pp

@@ -25,7 +25,7 @@ program tcalobj4;
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
+{$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
 
 

+ 1 - 1
tests/test/cg/tcalobj6.pp

@@ -23,7 +23,7 @@ program tcalobj6;
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
+{$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
 
 

+ 1 - 1
tests/test/cg/tcalobj7.pp

@@ -23,7 +23,7 @@ program tcalobj7;
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
+{$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
 
 

+ 1 - 1
tests/test/cg/tcalval1.pp

@@ -34,7 +34,7 @@ program tcalval1;
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
+{$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
 
 

+ 1 - 1
tests/test/cg/tcalval2.pp

@@ -32,7 +32,7 @@ program tcalval2;
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
+{$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
 
 

+ 1 - 1
tests/test/cg/tcalval3.pp

@@ -34,7 +34,7 @@ program tcalval3;
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
+{$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
 
 

+ 1 - 1
tests/test/cg/tcalval4.pp

@@ -34,7 +34,7 @@ program tcalval4;
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
+{$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
 
 

+ 1 - 1
tests/test/cg/tcalval5.pp

@@ -36,7 +36,7 @@ program tcalval5;
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
+{$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
 
 

+ 1 - 1
tests/test/cg/tcalval7.pp

@@ -34,7 +34,7 @@ program tcalval7;
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
+{$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
 
 

+ 1 - 1
tests/test/cg/tcalval8.pp

@@ -34,7 +34,7 @@ program tcalval8;
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
+{$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
 
 

+ 1 - 1
tests/test/cg/tcalvar1.pp

@@ -32,7 +32,7 @@ program tcalvar1;
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
+{$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
 
 

+ 1 - 1
tests/test/cg/tcalvar2.pp

@@ -32,7 +32,7 @@ program tcalvar2;
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
+{$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
 
 

+ 1 - 1
tests/test/cg/tcalvar3.pp

@@ -32,7 +32,7 @@ program tcalvar3;
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
+{$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
 
 

+ 1 - 1
tests/test/cg/tcalvar4.pp

@@ -34,7 +34,7 @@ program tcalvar4;
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
+{$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
 
 

+ 1 - 1
tests/test/cg/tcalvar5.pp

@@ -36,7 +36,7 @@ program tcalvar5;
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
+{$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
 
 

+ 1 - 1
tests/test/cg/tcalvar6.pp

@@ -39,7 +39,7 @@ program tcalvar6;
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
+{$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
 
 

+ 1 - 1
tests/test/cg/tcalvar7.pp

@@ -34,7 +34,7 @@ program tcalvar7;
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
+{$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
 
 

+ 1 - 1
tests/test/cg/tcalvar8.pp

@@ -34,7 +34,7 @@ program tcalvar8;
 {$ifdef cpu68k}
 {$ifdef cpu68k}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}
-{$ifdef cpu8086}
+{$ifdef cpui8086}
   {$define cpusmall}
   {$define cpusmall}
 {$endif}
 {$endif}