Browse Source

* fixed load_fpu_location for xmm locations

git-svn-id: trunk@3248 -
florian 19 years ago
parent
commit
1e52f348c0
1 changed files with 6 additions and 1 deletions
  1. 6 1
      compiler/x86/nx86inl.pas

+ 6 - 1
compiler/x86/nx86inl.pas

@@ -199,7 +199,12 @@ implementation
                cg.a_loadfpu_ref_reg(current_asmdata.CurrAsmList,
                   def_cgsize(left.resulttype.def),
                   left.location.reference,location.register);
-             end
+             end;
+           LOC_MMREGISTER,LOC_CMMREGISTER:
+             begin
+               location:=left.location;
+               location_force_fpureg(current_asmdata.CurrAsmList,location,false);
+             end;
            else
              internalerror(309991);
          end;