瀏覽代碼

* fix passing floats on unix after vectorcall patch

git-svn-id: trunk@38209 -
florian 7 年之前
父節點
當前提交
112373a124
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      compiler/x86_64/cpupara.pas

+ 3 - 1
compiler/x86_64/cpupara.pas

@@ -1846,7 +1846,9 @@ unit cpupara;
                                 paraloc^.register:=newreg(R_MMREGISTER,parammsupregs_vectorcall[mmparareg],subreg)
                               else
                                 paraloc^.register:=newreg(R_MMREGISTER,parammsupregs_winx64[mmparareg],subreg);
-                            end;
+                            end
+                          else
+                            paraloc^.register:=newreg(R_MMREGISTER,parammsupregs[mmparareg],subreg);
 
                           { matching int register must be skipped }
                           if use_ms_abi then