< prev index next >

test/jdk/jdk/incubator/vector/LongMaxVectorTests.java

Print this page
rev 55594 : tests and benchmark changes

@@ -26,10 +26,11 @@
  * @modules jdk.incubator.vector
  * @run testng/othervm -ea -esa LongMaxVectorTests
  */
 
 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,14 +46,12 @@
 import java.util.stream.Stream;
 
 @Test
 public class LongMaxVectorTests extends AbstractVectorTest {
 
-    static final Shape S_Max_BIT = getMaxBit();
-
-    static final LongVector.LongSpecies SPECIES =
-                LongVector.species(S_Max_BIT);
+    static final Species<Long> SPECIES =
+                LongVector.SPECIES_MAX;
 
     static final int INVOC_COUNT = Integer.getInteger("jdk.incubator.vector.test.loop-iterations", 100);
 
     static Shape getMaxBit() {
         return Shape.S_Max_BIT;
< prev index next >