< prev index next >

test/jdk/jdk/incubator/vector/Long512VectorTests.java

Print this page
rev 55594 : tests and benchmark changes

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

@@ -45,12 +46,12 @@
 import java.util.stream.Stream;
 
 @Test
 public class Long512VectorTests extends AbstractVectorTest {
 
-    static final LongVector.LongSpecies SPECIES =
-                LongVector.species(Shape.S_512_BIT);
+    static final Species<Long> SPECIES =
+                LongVector.SPECIES_512;
 
     static final int INVOC_COUNT = Integer.getInteger("jdk.incubator.vector.test.loop-iterations", 100);
 
     interface FUnOp {
         long apply(long a);
< prev index next >