Use lzcnt instruction for leading zero count on SPARC

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • tbd
    • Affects Version/s: 9, 10
    • Component/s: hotspot
    • Environment:

      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

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

              Created:
              Updated:
              Resolved: