From 5add7991935fe7ec87f5659b795593268d5736a3 Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 1 Jan 2025 18:00:05 +0100 Subject: [PATCH] * fix trvinlinenode.second_fma --- compiler/riscv/nrvinl.pas | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/riscv/nrvinl.pas b/compiler/riscv/nrvinl.pas index ebf2899c63..8c44213ee9 100644 --- a/compiler/riscv/nrvinl.pas +++ b/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