Sfoglia il codice sorgente

* more use of OptPass1OP

florian 10 mesi fa
parent
commit
89b1cdefbe
1 ha cambiato i file con 4 aggiunte e 2 eliminazioni
  1. 4 2
      compiler/riscv/aoptcpurv.pas

+ 4 - 2
compiler/riscv/aoptcpurv.pas

@@ -624,6 +624,7 @@ implementation
               A_ADD,
 {$ifdef riscv64}
               A_ADDIW,
+              A_SUBW,
 {$endif riscv64}
               A_DIV,
               A_DIVU,
@@ -633,10 +634,11 @@ implementation
 {$endif riscv64}
               A_REM,
               A_REMU,
-              {$ifdef riscv64}
+{$ifdef riscv64}
               A_REMW,
               A_REMUW,
-              {$endif riscv64}
+              A_MULW,
+{$endif riscv64}
               A_MUL,
               A_MULH,
               A_MULHSU,