浏览代码

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

florian 4 月之前
父节点
当前提交
cafaa9f5b8
共有 1 个文件被更改,包括 2 次插入0 次删除
  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);