瀏覽代碼

* my last commit hopefully fixed

florian 3 年之前
父節點
當前提交
7fcbd1d7e0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/x86/aoptx86.pas

+ 1 - 1
compiler/x86/aoptx86.pas

@@ -6183,7 +6183,7 @@ unit aoptx86;
            else
              begin
                DebugMsg(SPeepholeOptimization + '(V)Cvtss2CvtSd(V)Cvtsd2ss2Vmovaps done',p);
-               if taicpu(hp1).opcode=A_VCVTSD2SS then
+               if taicpu(hp1).opcode=A_CVTSD2SS then
                  begin
                    taicpu(p).loadreg(1,taicpu(hp1).oper[1]^.reg);
                    taicpu(p).opcode:=A_MOVAPS;