< prev index next >
test/jdk/jdk/incubator/vector/templates/Unit-header.template
Print this page
rev 55594 : tests and benchmark changes
@@ -26,10 +26,11 @@
* @modules jdk.incubator.vector
* @run testng/othervm -ea -esa $vectorteststype$
*/
import jdk.incubator.vector.Vector.Shape;
+import jdk.incubator.vector.Vector.Species;
import jdk.incubator.vector.Vector;
#if[Byte]
import jdk.incubator.vector.ByteVector;
#end[Byte]
@@ -65,17 +66,15 @@
@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", 100);
#if[MaxBit]
< prev index next >