< prev index next >
test/jdk/jdk/incubator/vector/Short128VectorTests.java
Print this page
rev 55594 : tests and benchmark changes
*** 26,35 ****
--- 26,36 ----
* @modules jdk.incubator.vector
* @run testng/othervm -ea -esa Short128VectorTests
*/
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,55 ****
import java.util.stream.Stream;
@Test
public class Short128VectorTests extends AbstractVectorTest {
! static final ShortVector.ShortSpecies SPECIES =
! ShortVector.species(Shape.S_128_BIT);
static final int INVOC_COUNT = Integer.getInteger("jdk.incubator.vector.test.loop-iterations", 100);
interface FUnOp {
short apply(short a);
--- 45,56 ----
import java.util.stream.Stream;
@Test
public class Short128VectorTests extends AbstractVectorTest {
! static final Species<Short> SPECIES =
! ShortVector.SPECIES_128;
static final int INVOC_COUNT = Integer.getInteger("jdk.incubator.vector.test.loop-iterations", 100);
interface FUnOp {
short apply(short a);
< prev index next >