Browse Source

+ apply OptPass1Data to variable shifting/rotating operations as well

florian 6 months ago
parent
commit
1802a8c493
1 changed files with 4 additions and 0 deletions
  1. 4 0
      compiler/aarch64/aoptcpu.pas

+ 4 - 0
compiler/aarch64/aoptcpu.pas

@@ -1520,6 +1520,10 @@ Implementation
               Result:=OptPass1Shift(p);
             A_AND:
               Result:=OptPass1And(p);
+            A_LSRV,
+            A_RORV,
+            A_ASRV,
+            A_LSLV,
             A_UDIV,
             A_SDIV,
             A_NEG,