Browse Source

* fixed mm register parameters which were messed up by a previous commit
* fixed duplicate ie number

git-svn-id: trunk@3125 -

florian 19 years ago
parent
commit
9da293678e
2 changed files with 3 additions and 3 deletions
  1. 1 1
      compiler/symsym.pas
  2. 2 2
      compiler/x86_64/cpupara.pas

+ 1 - 1
compiler/symsym.pas

@@ -1700,7 +1700,7 @@ implementation
            toaddr :
            toaddr :
              mangledname:='$'+tostr(addroffset);
              mangledname:='$'+tostr(addroffset);
            else
            else
-             internalerror(200411061);
+             internalerror(200411062);
          end;
          end;
       end;
       end;
 
 

+ 2 - 2
compiler/x86_64/cpupara.pas

@@ -390,9 +390,9 @@ unit cpupara;
                         begin
                         begin
                           { winx64 uses different registers }
                           { winx64 uses different registers }
                           if ((target_info.system=system_x86_64_win64) and
                           if ((target_info.system=system_x86_64_win64) and
-                            (intparareg>high(parammsupregs_winx64))) or
+                            (mmparareg>high(parammsupregs_winx64))) or
                             ((target_info.system<>system_x86_64_win64) and
                             ((target_info.system<>system_x86_64_win64) and
-                            (intparareg>high(parammsupregs))) then
+                            (mmparareg>high(parammsupregs))) then
                             loc[locidx]:=LOC_REFERENCE;
                             loc[locidx]:=LOC_REFERENCE;
                         end;
                         end;
                     end;
                     end;