VectorAPI: Re-intrinsify VectorMask.laneIsSet where the input index is a variable

XMLWordPrintable

    • b15

      For the following case, laneIsSet should be intrinsified but not. This intrinsic was supported in https://github.com/openjdk/jdk/pull/14200 but broken by https://github.com/openjdk/jdk/pull/25673, maybe this is a mistake, fix this issue.

      public static int testLaneIsSet(int idx) {
      VectorMask<Double> m=VectorMask.fromArray(D_SPECIES, ma, 0);
      if (m.laneIsSet(idx))

      { returnm.trueCount(); }
      return0;
      }

            Assignee:
            Xiaohong Gong
            Reporter:
            Xiaohong Gong
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: