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

Improve java implementation of Integer/Long.numberOfLeadingZeros

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • None
    • core-libs
    • b15

        During warmup and in environments with no corresponding intrinsics, the current implementations of Integer/Long.numberOfLeadingZeros doesn't get optimally compiled. Implementations avoiding right-shift operations allows C1 and C2 to produce better code.

              redestad Claes Redestad
              redestad Claes Redestad
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: