Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8168481

Check possibility of improved performance with the (CastII (AddI x const)) -> (AddI (CastII x) const) transformation

    Details

      Description

      The [(CastII (AddI x const)) -> (AddI (CastII x) const) transformation change block in CastIINode::Ideal() - castnode.cpp] was earlier added as part of old JDK-8145322 enhancement fix. ("Code generated from unsafe loops can be slightly improved")

      But in later reported JDK-8165661, found that the 8145322 part changes causing performance regression for x86_64. So the same got reverted for JDK-8165661 fix.

      Creating this new enhancement CR to investigate issues with OLD 8145322 changes and for a possible better version of the same.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                roland Roland Westrelin
                Reporter:
                rraghavan Rahul Raghavan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: