瀏覽代碼

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

Pierre Muller 3 年之前
父節點
當前提交
fbed068048
共有 1 個文件被更改,包括 13 次插入0 次删除
  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}