浏览代码

* tx86addnode.second_cmpfloat: do not emit a fwait after fstsw as my own testing
on a true i8087 showed that the fwait isn't necessary

git-svn-id: trunk@26244 -

nickysn 11 年之前
父节点
当前提交
ada9ccf6a6
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      compiler/x86/nx86add.pas

+ 0 - 1
compiler/x86/nx86add.pas

@@ -1243,7 +1243,6 @@ unit nx86add;
               begin
               begin
                 tg.gettemp(current_asmdata.CurrAsmList,2,2,tt_normal,tmpref);
                 tg.gettemp(current_asmdata.CurrAsmList,2,2,tt_normal,tmpref);
                 emit_ref(A_FSTSW,S_NO,tmpref);
                 emit_ref(A_FSTSW,S_NO,tmpref);
-                emit_none(A_FWAIT,S_NO);
                 cg.getcpuregister(current_asmdata.CurrAsmList,NR_AX);
                 cg.getcpuregister(current_asmdata.CurrAsmList,NR_AX);
                 emit_ref_reg(A_MOV,S_W,tmpref,NR_AX);
                 emit_ref_reg(A_MOV,S_W,tmpref,NR_AX);
                 emit_none(A_SAHF,S_NO);
                 emit_none(A_SAHF,S_NO);