ソースを参照

* another location to use source register as second register in VCVTSD2SS and VCVTSS2SD
to break dependency chains, hopefully final fix for #39360

florian 3 年 前
コミット
8f68988aef
1 ファイル変更1 行追加1 行削除
  1. 1 1
      compiler/x86/cgx86.pas

+ 1 - 1
compiler/x86/cgx86.pas

@@ -1705,7 +1705,7 @@ unit cgx86;
 
                  { A_VCVTSD2SS and A_VCVTSS2SD require always three operands }
                  if (op=A_VCVTSD2SS) or (op=A_VCVTSS2SD) then
-                   list.concat(taicpu.op_reg_reg_reg(op,S_NO,reg,hreg,hreg))
+                   list.concat(taicpu.op_reg_reg_reg(op,S_NO,reg,reg,hreg))
                  else
                    list.concat(taicpu.op_reg_reg(op,S_NO,reg,hreg));