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

[vector] VectorMask.toLong accepting part number

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: repo-panama
    • Fix Version/s: repo-panama
    • Component/s: hotspot

      Description

      VectorMask.toLong only support a lane counts of 64. Any vector with a larger lane count will result in the method throwing UnsupportedOperationExecption.

      Consider instead change this method to be a contracting operation, that accepts a part number, corresponding to multiples of 64, and where the bits are extracted out from that part number up to 64 bits from part * 64 or the count, which ever is first.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              psandoz Paul Sandoz
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: