Browse Source

* fix trvinlinenode.second_fma

florian 7 tháng trước cách đây
mục cha
commit
5add799193
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      compiler/riscv/nrvinl.pas

+ 2 - 1
compiler/riscv/nrvinl.pas

@@ -367,7 +367,8 @@ implementation
              location_reset(location,LOC_FPUREGISTER,paraarray[1].location.size);
              location.register:=cg.getfpuregister(current_asmdata.CurrAsmList,location.size);
 
-             current_asmdata.CurrAsmList.concat(taicpu.op_reg_reg_reg_reg(op[def_cgsize(resultdef), negproduct,negop3],location.register,paraarray[1].location.register,paraarray[2].location.register,paraarray[2].location.register));
+             current_asmdata.CurrAsmList.concat(taicpu.op_reg_reg_reg_reg(op[def_cgsize(resultdef), negproduct,negop3],
+               location.register,paraarray[1].location.register,paraarray[2].location.register,paraarray[3].location.register));
              cg.maybe_check_for_fpu_exception(current_asmdata.CurrAsmList);
            end
          else