From 5bb4049737468baaf97a5a67bc86f01e496ebed9 Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 12 Jan 2025 11:32:34 +0100 Subject: [PATCH] * remove accidently committed debug statement --- compiler/riscv/aoptcpurv.pas | 1 - compiler/riscv/cpubase.pas | 1 + compiler/riscv64/cgcpu.pas | 2 -- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/compiler/riscv/aoptcpurv.pas b/compiler/riscv/aoptcpurv.pas index 899f583114..c8c71a40f2 100644 --- a/compiler/riscv/aoptcpurv.pas +++ b/compiler/riscv/aoptcpurv.pas @@ -37,7 +37,6 @@ uses aasmtai, aasmcpu; type - TRVCpuAsmOptimizer = class(TAsmOptimizer) function InstructionLoadsFromReg(const reg: TRegister; const hp: tai): boolean; override; function RegLoadedWithNewValue(reg: tregister; hp: tai): boolean; override; diff --git a/compiler/riscv/cpubase.pas b/compiler/riscv/cpubase.pas index dde805b84c..67ff8cd34c 100644 --- a/compiler/riscv/cpubase.pas +++ b/compiler/riscv/cpubase.pas @@ -43,6 +43,7 @@ uses A_FMV_S,A_FABS_S,A_FNEG_S,A_FMV_D,A_FABS_D,A_FNEG_D,A_FNEG_Q, A_BEQZ,A_BNEZ,A_BLEZ,A_BGEZ,A_BLTZ,A_BGTZ,A_BGT,A_BLE, A_BGTU,A_BLEU,A_J,A_JR,A_RET,A_TAIL, + { normal opcodes } A_LUI,A_AUIPC,A_JAL,A_JALR, A_Bxx,A_LB,A_LH,A_LW,A_LBU,A_LHU, diff --git a/compiler/riscv64/cgcpu.pas b/compiler/riscv64/cgcpu.pas index 695a72a4b3..6399726359 100644 --- a/compiler/riscv64/cgcpu.pas +++ b/compiler/riscv64/cgcpu.pas @@ -122,8 +122,6 @@ implementation ((tcgsize2unsigned[fromsize]<>fromsize) and ((tcgsize2unsigned[tosize]=tosize)) and (tcgsize2size[fromsize] < tcgsize2size[tosize]) and (tcgsize2size[tosize] <> sizeof(pint)) ) then begin - if 8*(8-tcgsize2size[tosize])=64 then - writeln; if tcgsize2size[fromsize]