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

Missing intrinsics for Integer and Long operations

XMLWordPrintable

      In Long and Integer, the implementations of the following methods are generic, but could be improved for scalar and/or vector code, in a platform-dependent manner:

      reverse (bitwise reversal - RBIT on ARM64, table lookup on x86)
      rotateLeft, rotateRight (instruction if available)

      JDK-8283894 covers the following, which as of 2022 have been added and which should also be made intrinsics:

      compress / expand (x86 PEXT/PDEP)

            cslucas Cesar Soares
            jrose John Rose
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: