Browse Source

* apply OptPass1OP to more instructions

florian 1 year ago
parent
commit
9c81c4a5fa
1 changed files with 6 additions and 0 deletions
  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);