< prev index next >
test/jdk/jdk/incubator/vector/Long256VectorTests.java
Print this page
rev 55594 : tests and benchmark changes
@@ -26,10 +26,11 @@
* @modules jdk.incubator.vector
* @run testng/othervm -ea -esa Long256VectorTests
*/
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 Long256VectorTests extends AbstractVectorTest {
- static final LongVector.LongSpecies SPECIES =
- LongVector.species(Shape.S_256_BIT);
+ static final Species<Long> SPECIES =
+ LongVector.SPECIES_256;
static final int INVOC_COUNT = Integer.getInteger("jdk.incubator.vector.test.loop-iterations", 100);
interface FUnOp {
long apply(long a);
< prev index next >