瀏覽代碼

* use S_IQ opsize for A_FISTP instruction

git-svn-id: trunk@6848 -
pierre 18 年之前
父節點
當前提交
d1d6413443
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      compiler/x86/nx86inl.pas

+ 2 - 2
compiler/x86/nx86inl.pas

@@ -301,7 +301,7 @@ implementation
             load_fpu_location;
             location_reset(location,LOC_REFERENCE,OS_64);
             tg.GetTempTyped(current_asmdata.CurrAsmList,resultdef,tt_normal,location.reference);
-            emit_ref(A_FISTP,S_Q,location.reference);
+            emit_ref(A_FISTP,S_IQ,location.reference);
             emit_none(A_FWAIT,S_NO);
            end;
        end;
@@ -336,7 +336,7 @@ implementation
             emit_ref(A_FLDCW,S_NO,newcw);
             location_reset(location,LOC_REFERENCE,OS_64);
             tg.GetTempTyped(current_asmdata.CurrAsmList,resultdef,tt_normal,location.reference);
-            emit_ref(A_FISTP,S_Q,location.reference);
+            emit_ref(A_FISTP,S_IQ,location.reference);
             emit_ref(A_FLDCW,S_NO,oldcw);
             emit_none(A_FWAIT,S_NO);
             tg.UnGetTemp(current_asmdata.CurrAsmList,oldcw);