< prev index next >

test/jdk/jdk/incubator/vector/Byte128VectorTests.java

Print this page
rev 55594 : tests and benchmark changes

@@ -26,10 +26,11 @@
  * @modules jdk.incubator.vector
  * @run testng/othervm -ea -esa Byte128VectorTests
  */
 
 import jdk.incubator.vector.Vector.Shape;
+import jdk.incubator.vector.Vector.Species;
 import jdk.incubator.vector.Vector;
 
 import jdk.incubator.vector.ByteVector;
 
 import org.testng.Assert;

@@ -44,12 +45,12 @@
 import java.util.stream.Stream;
 
 @Test
 public class Byte128VectorTests extends AbstractVectorTest {
 
-    static final ByteVector.ByteSpecies SPECIES =
-                ByteVector.species(Shape.S_128_BIT);
+    static final Species<Byte> SPECIES =
+                ByteVector.SPECIES_128;
 
     static final int INVOC_COUNT = Integer.getInteger("jdk.incubator.vector.test.loop-iterations", 100);
 
     interface FUnOp {
         byte apply(byte a);
< prev index next >