< prev index next >
test/jdk/jdk/incubator/vector/Int256VectorTests.java
Print this page
rev 55594 : tests and benchmark changes
@@ -26,10 +26,11 @@
* @modules jdk.incubator.vector
* @run testng/othervm -ea -esa Int256VectorTests
*/
import jdk.incubator.vector.Vector.Shape;
+import jdk.incubator.vector.Vector.Species;
import jdk.incubator.vector.Vector;
import jdk.incubator.vector.IntVector;
import org.testng.Assert;
@@ -45,12 +46,12 @@
import java.util.stream.Stream;
@Test
public class Int256VectorTests extends AbstractVectorTest {
- static final IntVector.IntSpecies SPECIES =
- IntVector.species(Shape.S_256_BIT);
+ static final Species<Integer> SPECIES =
+ IntVector.SPECIES_256;
static final int INVOC_COUNT = Integer.getInteger("jdk.incubator.vector.test.loop-iterations", 100);
interface FUnOp {
int apply(int a);
< prev index next >