< prev index next >
test/jdk/jdk/incubator/vector/templates/X-LoadStoreTest.java.template
Print this page
rev 55594 : tests and benchmark changes
*** 32,41 ****
--- 32,42 ----
#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,71 ****
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);
#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", 10);
#if[MaxBit]
--- 56,70 ----
import java.util.function.IntFunction;
@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", 10);
#if[MaxBit]
< prev index next >