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

Generalize long range check transformation

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • 18
    • hotspot
    • b13

      A long range check is only transformed into an int range check subject to range check elimination if:

      - the counted loop goes upward
      - the scale factor for the element being accessed is positive

      All combination of:
      (upward loop, downward loop) x (positive scale, negative scale)
      should be supported.

            roland Roland Westrelin
            roland Roland Westrelin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: