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

[vector] refactor format and lane conversion intrinsics

    Details

      Description

      share/classes/jdk/incubator/vector/VectorIntrinsics.java
      contains low-level unsafe intrinsics for converting
      between vectors of various formats.

      Both reinterpret and cast have the same signature,
      and they are also used in similar ways.
      There is something to refactor here!

      Suggested fix: Consolidate these intrinsics, and add an
      opcode parameter to select the various kinds of
      lanewise casting. The rebracketing done by
      reinterpret is not always lanewise (sometimes
      it is) but it is similar enough to send through
      a combined intrinsic.

      Also, this intrinsic should handle conversion between
      vectors, shuffles, and masks of various formats.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jrose John Rose
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: