소스 검색

* 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