소스 검색

* apply OptPass1OP to more instructions

florian 1 년 전
부모
커밋
9c81c4a5fa
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      compiler/riscv/aoptcpurv.pas

+ 6 - 0
compiler/riscv/aoptcpurv.pas

@@ -473,6 +473,12 @@ implementation
                       result:=true;
                     end;
                 end;
+              A_ANDI,
+              A_XORI,
+              A_ORI,
+              A_AND,
+              A_OR,
+              A_XOR,
               A_SLL,
               A_SRL:
                 result:=OptPass1OP(p);