< prev index next >

src/jdk.incubator.vector/share/classes/jdk/incubator/vector/ByteMaxVector.java

Print this page

        

@@ -816,11 +816,11 @@
         byte[] a = toArray();
         int[] sa = new int[a.length];
         for (int i = 0; i < a.length; i++) {
             sa[i] = (int) a[i];
         }
-        return ByteVector.shuffleFromArray(SPECIES, sa, 0);
+        return Shuffle.fromArray(SPECIES, sa, 0);
     }
 
     // Memory operations
 
     private static final int ARRAY_SHIFT         = 31 - Integer.numberOfLeadingZeros(Unsafe.ARRAY_BYTE_INDEX_SCALE);

@@ -1277,11 +1277,11 @@
 
         @Override
         @ForceInline
         public boolean allTrue() {
             return VectorIntrinsics.test(BT_overflow, ByteMaxMask.class, byte.class, LENGTH,
-                                         this, ByteVector.maskAllTrue(species()),
+                                         this, Mask.maskAllTrue(species()),
                                          (m, __) -> allTrueHelper(((ByteMaxMask)m).getBits()));
         }
     }
 
     // Shuffle

@@ -1341,11 +1341,11 @@
                 throw new UnsupportedOperationException("Bad lane type for casting.");
             }
         }
 
         @Override
-        public ByteMaxShuffle rearrange(Vector.Shuffle<Byte> o) {
+        public ByteMaxShuffle rearrange(Shuffle<Byte> o) {
             ByteMaxShuffle s = (ByteMaxShuffle) o;
             byte[] r = new byte[reorder.length];
             for (int i = 0; i < reorder.length; i++) {
                 r[i] = reorder[s.reorder[i]];
             }
< prev index next >