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

VectorAPI rotate operation optimization

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 17
    • 18
    • hotspot
    • b08
    • generic

    Description

      Current VectorAPI Java side implementation expresses rotateLeft and rotateRight operations using following operations:-

          vec1 = lanewise(VectorOperators.LSHL, n)
          vec2 = lanewise(VectorOperators.LSHR, n)
          res = lanewise(VectorOperations.OR, vec1 , vec2)

      To move this handling from Java side to C2 compiler side which currently facilitates dismantling the rotate operation into above operations if target ISA does not support a direct rotate instruction.

      Attachments

        Issue Links

          Activity

            People

              jbhateja Jatin Bhateja
              jbhateja Jatin Bhateja
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: