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

Use lzcnt instruction for leading zero count on SPARC

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • tbd
    • 9, 10
    • hotspot
    • SPARC T4 or equivalent and above with VIS3 or later instruction set

    • sparc
    • generic

      The current intrinsic to count leading zeroes on SPARC was implemented prior to the release of the VIS3 instruction set which has an lzcnt instruction.

      For SPARC implementations which have VIS3 or later, the lzcnt can replace the current algorithm which is expensive

            Unassigned Unassigned
            twatson Trevor Watson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: