< prev index next >
test/jdk/jdk/incubator/vector/templates/Unit-header.template
Print this page
rev 55594 : tests and benchmark changes
*** 26,35 ****
--- 26,36 ----
* @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,81 ****
@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);
#else[MaxBit]
! static final $abstractvectortype$.$Type$Species SPECIES =
! $Type$Vector.species(Shape.S_$bits$_BIT);
#end[MaxBit]
static final int INVOC_COUNT = Integer.getInteger("jdk.incubator.vector.test.loop-iterations", 100);
#if[MaxBit]
--- 66,80 ----
@Test
public class $vectorteststype$ extends AbstractVectorTest {
#if[MaxBit]
! static final Species<$Wideboxtype$> SPECIES =
! $Type$Vector.SPECIES_MAX;
#else[MaxBit]
! 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 >