소스 검색

+ support for MMREGISTER -> FPUREGISTER transfers in hlcgobj

git-svn-id: branches/hlcgllvm@27018 -
Jonas Maebe 11 년 전
부모
커밋
d3c11ca8b3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      compiler/hlcgobj.pas

+ 1 - 1
compiler/hlcgobj.pas

@@ -3682,7 +3682,7 @@ implementation
         begin
         begin
           { if it's in an mm register, store to memory first }
           { if it's in an mm register, store to memory first }
           if (l.loc in [LOC_MMREGISTER,LOC_CMMREGISTER]) then
           if (l.loc in [LOC_MMREGISTER,LOC_CMMREGISTER]) then
-            internalerror(2011012903);
+            location_force_mem(list,l,size);
           reg:=getfpuregister(list,size);
           reg:=getfpuregister(list,size);
           a_loadfpu_loc_reg(list,size,size,l,reg);
           a_loadfpu_loc_reg(list,size,size,l,reg);
           location_freetemp(list,l);
           location_freetemp(list,l);