+ RiscV: handle rol(w) in the assembler optimizer

This commit is contained in:
florian 2025-03-23 23:04:17 +01:00
parent 0d5dddfcb5
commit cafaa9f5b8

View File

@ -916,10 +916,12 @@ implementation
A_SLLW,
A_SRLW,
A_SRAW,
A_ROLW,
{$endif riscv64}
A_SLL,
A_SRL,
A_SRA,
A_ROL,
A_NEG,
A_NOT:
result:=OptPass1OP(p);