فهرست منبع

+ RiscV: handle ror(i)(w) in the assembler optimizer

florian 6 ماه پیش
والد
کامیت
0785652b55
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      compiler/riscv/aoptcpurv.pas

+ 4 - 0
compiler/riscv/aoptcpurv.pas

@@ -917,11 +917,15 @@ implementation
               A_SRLW,
               A_SRAW,
               A_ROLW,
+              A_RORW,
+              A_RORIW,
 {$endif riscv64}
               A_SLL,
               A_SRL,
               A_SRA,
               A_ROL,
+              A_ROR,
+              A_RORI,
               A_NEG,
               A_NOT:
                 result:=OptPass1OP(p);