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

Add unsigned bounds and known bits to TypeInt/Long

XMLWordPrintable

      Adding unsigned bounds and known bits to TypeInt/Long has several advantages:

      - More tight value constraints increase the strength of GVN and CCP and open more transformations and simplifications.

      - Currently we have some specifically crafted analysis such as CmpU of Add/Sub, And of a LShift, etc and we have some potential improvements in JBS such as the sign of an Or. These can be solved elegantly using unsigned bounds and known bits.

      - Ability to express TypeInt::CC_NE

            qamai Quan Anh Mai
            qamai Quan Anh Mai
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: