Browse Source

+ handling of mm registers in array constructors

git-svn-id: trunk@4201 -
florian 19 years ago
parent
commit
1c4312ebd1
1 changed files with 4 additions and 0 deletions
  1. 4 0
      compiler/ncgld.pas

+ 4 - 0
compiler/ncgld.pas

@@ -910,6 +910,10 @@ implementation
                  if resulttype.def.needs_inittable then
                    freetemp:=false;
                  case hp.left.location.loc of
+                   LOC_MMREGISTER,
+                   LOC_CMMREGISTER:
+                     cg.a_loadmm_reg_ref(current_asmdata.CurrAsmList,hp.left.location.size,hp.left.location.size,
+                       hp.left.location.register,href,mms_movescalar);
                    LOC_FPUREGISTER,
                    LOC_CFPUREGISTER :
                      cg.a_loadfpu_reg_ref(current_asmdata.CurrAsmList,hp.left.location.size,hp.left.location.register,href);