Browse Source

* updated first_int/fpu/mm_imreg, so it doesn't clash with the non-imaginary registers

git-svn-id: branches/wasm@47828 -
nickysn 4 years ago
parent
commit
59c9bff744
1 changed files with 3 additions and 3 deletions
  1. 3 3
      compiler/wasm32/cpubase.pas

+ 3 - 3
compiler/wasm32/cpubase.pas

@@ -154,13 +154,13 @@ uses
       maxfpuvarregs = 1;
       maxfpuvarregs = 1;
 
 
       { Integer Super registers first and last }
       { Integer Super registers first and last }
-      first_int_imreg = 2;
+      first_int_imreg = 4;
 
 
       { Float Super register first and last }
       { Float Super register first and last }
-      first_fpu_imreg     = 2;
+      first_fpu_imreg     = 4;
 
 
       { MM Super register first and last }
       { MM Super register first and last }
-      first_mm_imreg     = 2;
+      first_mm_imreg     = 4;
 
 
       regnumber_table : array[tregisterindex] of tregister = (
       regnumber_table : array[tregisterindex] of tregister = (
         {$i rwasmnum.inc}
         {$i rwasmnum.inc}