瀏覽代碼

* set expectloc properly for x87 on x86

florian 3 年之前
父節點
當前提交
f56aa9abe7
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      compiler/ncal.pas

+ 4 - 0
compiler/ncal.pas

@@ -2657,7 +2657,11 @@ implementation
           if use_vectorfpu(realresdef) then
             result:=LOC_MMREGISTER
           else
+{$ifdef x86}
+            result:=LOC_REFERENCE
+{$else x86}
             result:=LOC_FPUREGISTER
+{$endif x86}
         else
           result:=LOC_REFERENCE
       end;