< prev index next >

test/jdk/jdk/incubator/vector/Double256VectorTests.java

Print this page
rev 55594 : tests and benchmark changes

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

@@ -45,12 +46,12 @@
 import java.util.stream.Stream;
 
 @Test
 public class Double256VectorTests extends AbstractVectorTest {
 
-    static final DoubleVector.DoubleSpecies SPECIES =
-                DoubleVector.species(Shape.S_256_BIT);
+    static final Species<Double> SPECIES =
+                DoubleVector.SPECIES_256;
 
     static final int INVOC_COUNT = Integer.getInteger("jdk.incubator.vector.test.loop-iterations", 100);
 
     interface FUnOp {
         double apply(double a);
< prev index next >