< prev index next >
test/jdk/jdk/incubator/vector/templates/X-LoadStoreTest.java.template
Print this page
rev 55594 : tests and benchmark changes
@@ -32,10 +32,11 @@
#end[MaxBit]
*
*/
import jdk.incubator.vector.Vector.Shape;
+import jdk.incubator.vector.Vector.Species;
import jdk.incubator.vector.Vector;
import jdk.incubator.vector.$Type$Vector;
import org.testng.Assert;
@@ -55,17 +56,15 @@
import java.util.function.IntFunction;
@Test
public class $vectorteststype$ extends AbstractVectorTest {
#if[MaxBit]
- static final Shape S_Max_BIT = getMaxBit();
-
- static final $abstractvectortype$.$Type$Species SPECIES =
- $Type$Vector.species(S_Max_BIT);
+ static final Species<$Wideboxtype$> SPECIES =
+ $Type$Vector.SPECIES_MAX;
#else[MaxBit]
- static final $abstractvectortype$.$Type$Species SPECIES =
- $Type$Vector.species(Shape.S_$bits$_BIT);
+ static final Species<$Wideboxtype$> SPECIES =
+ $Type$Vector.SPECIES_$bits$;
#end[MaxBit]
static final int INVOC_COUNT = Integer.getInteger("jdk.incubator.vector.test.loop-iterations", 10);
#if[MaxBit]
< prev index next >