+ Risc-V: apply OptPass1OP to more operations

This commit is contained in:
florian 2024-08-05 22:37:59 +02:00
parent 3e6cd16bb5
commit 23dec631f5

View File

@ -520,12 +520,28 @@ implementation
result:=true; result:=true;
end; end;
end; end;
A_LB,
A_LBU,
A_LH,
A_LHU,
A_LW,
{$ifdef riscv64}
A_LWU,
A_LD,
{$endif riscv64}
A_ADD, A_ADD,
A_DIV, A_DIV,
A_DIVU, A_DIVU,
{$ifdef riscv64} {$ifdef riscv64}
A_DIVW, A_DIVW,
A_DIVUW,
{$endif riscv64} {$endif riscv64}
A_REM,
A_REMU,
{$ifdef riscv64}
A_REMW,
A_REMUW,
{$endif riscv64}
A_MUL, A_MUL,
A_MULH, A_MULH,
A_MULHSU, A_MULHSU,