+ RiscV64: apply OptPass1OP also to addiw

This commit is contained in:
florian 2024-11-13 22:56:13 +01:00
parent e9579fe2df
commit ccae78f97a
3 changed files with 5 additions and 2 deletions

View File

@ -622,6 +622,9 @@ implementation
A_LD,
{$endif riscv64}
A_ADD,
{$ifdef riscv64}
A_ADDIW,
{$endif riscv64}
A_DIV,
A_DIVU,
{$ifdef riscv64}

View File

@ -58,7 +58,7 @@ implementation
procedure trvcasenode.optimizevalues(var max_linear_list : int64; var max_dist : qword);
begin
max_linear_list := 3;
max_linear_list:=3;
end;