Jelajahi Sumber

+ apply OptPass1Data to variable shifting/rotating operations as well

florian 7 bulan lalu
induk
melakukan
1802a8c493
1 mengubah file dengan 4 tambahan dan 0 penghapusan
  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,