Browse Source

+ added patch for SPARC from Mazen (to move to cpuinfo)

carl 23 years ago
parent
commit
458a7f58dc
1 changed files with 11 additions and 1 deletions
  1. 11 1
      compiler/cginfo.pas

+ 11 - 1
compiler/cginfo.pas

@@ -90,6 +90,13 @@ interface
        OS_FLOAT = OS_F??;
        OS_VECTOR = OS_NO; { the normal registers can also be used as vectors }
 {$endif ia64}
+{$ifdef SPARC}
+       OS_ADDR=OS_32;
+       OS_INT=OS_32;
+       OS_FLOAT=OS_F64;
+       {$WARNING "OS_VECTOR" was set to "OS_M64" but not verified!}  
+       OS_VECTOR=OS_M64;
+{$endif SPARC}
 
     const
        tcgsize2size : Array[tcgsize] of integer =
@@ -114,7 +121,10 @@ implementation
 end.
 {
   $Log$
-  Revision 1.4  2002-04-21 15:26:15  carl
+  Revision 1.5  2002-04-21 19:46:52  carl
+  + added patch for SPARC from Mazen (to move to cpuinfo)
+
+  Revision 1.4  2002/04/21 15:26:15  carl
   * move stuff to cpuinfo and cpubase
   + documented