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