# New Ticket Created by  Curtis Rawls 
# Please include the string:  [perl #36035]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=36035 >


The first patch (optimizer.patch) adds more improvements to strength_reduce().
 -Fixed a bug in the (xxx Nx, 1 => delete) rule
 -Modified function to return 1 if any changes were made, otherwise zero.
 -Added new rules:
  add Ix, 1     => inc Ix
  sub Ix, 1     => dec Ix
  add Nx, 1     => inc Nx
  sub Nx, 1     => dec Nx
  set Ix, 0     => null Ix
  set Nx, 0     => null Nx

The second patch (test.patch)
 -Adds more comprehensive strength_reduce() tests to match new optimizations.

-Curtis Rawls

Attachment: optimizer.patch
Description: Binary data

Attachment: test.patch
Description: Binary data

Reply via email to