< prev index next >
test/jdk/jdk/incubator/vector/VectorRuns.java
Print this page
rev 55594 : tests and benchmark changes
@@ -21,10 +21,11 @@
* questions.
*/
import jdk.incubator.vector.IntVector;
import jdk.incubator.vector.Vector.Shape;
+import jdk.incubator.vector.Vector.Species;
import jdk.incubator.vector.Vector;
import java.util.stream.IntStream;
/**
@@ -62,11 +63,11 @@
return r;
}
static int countRunAscendingVector(int[] a) {
- IntVector.IntSpecies species = IntVector.species(Shape.S_256_BIT);
+ Species<Integer> species = IntVector.SPECIES_256;
int r = 1;
if (r >= a.length)
return a.length;
< prev index next >