Explorar el Código

* fix passing floats on unix after vectorcall patch

git-svn-id: trunk@38209 -
florian hace 7 años
padre
commit
112373a124
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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