瀏覽代碼

* 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);