Browse Source

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

florian 4 months ago
parent
commit
cafaa9f5b8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      compiler/riscv/aoptcpurv.pas

+ 2 - 0
compiler/riscv/aoptcpurv.pas

@@ -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);