Browse Source

Set float type information in system interface part for mips64 and mips64el CPUs

Pierre Muller 3 years ago
parent
commit
fbed068048
1 changed files with 13 additions and 0 deletions
  1. 13 0
      rtl/inc/systemh.inc

+ 13 - 0
rtl/inc/systemh.inc

@@ -269,6 +269,19 @@ Type
   {$endif}
 {$endif CPUMIPS32}
 
+{$if defined(CPUMIPS64) or defined(CPUMIPS64EL)}
+  {$define DEFAULT_DOUBLE}
+
+  {$define FPC_INCLUDE_SOFTWARE_SHIFT_INT64}
+
+  {$define SUPPORT_SINGLE}
+  {$define SUPPORT_DOUBLE}
+
+  {$define FPC_INCLUDE_SOFTWARE_INT64_TO_DOUBLE}
+
+  ValReal = Double;
+{$endif CPUMIPS64}
+
 
 {$ifdef CPUARM}
   {$define DEFAULT_DOUBLE}