소스 검색

* more use of OptPass1OP

florian 10 달 전
부모
커밋
89b1cdefbe
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  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,