--- old/test/jdk/jdk/incubator/vector/VectorReshapeTests.java 2019-04-15 14:48:47.934068600 -0700 +++ new/test/jdk/jdk/incubator/vector/VectorReshapeTests.java 2019-04-15 14:48:47.417839500 -0700 @@ -9,8 +9,8 @@ import java.util.Arrays; import java.util.List; import java.util.function.IntFunction; -import jdk.incubator.vector.Vector.Shape; -import jdk.incubator.vector.Vector.Species; +import jdk.incubator.vector.VectorShape; +import jdk.incubator.vector.VectorSpecies; /** * @test @@ -25,45 +25,45 @@ static final int INVOC_COUNT = Integer.getInteger("jdk.incubator.vector.test.loop-iterations", 100); static final int NUM_ITER = 200 * INVOC_COUNT; - static final Shape S_Max_BIT = getMaxBit(); + static final VectorShape S_Max_BIT = getMaxBit(); - static final Species ispec64 = IntVector.SPECIES_64; - static final Species fspec64 = FloatVector.SPECIES_64; - static final Species lspec64 = LongVector.SPECIES_64; - static final Species dspec64 = DoubleVector.SPECIES_64; - static final Species bspec64 = ByteVector.SPECIES_64; - static final Species sspec64 = ShortVector.SPECIES_64; - - static final Species ispec128 = IntVector.SPECIES_128; - static final Species fspec128 = FloatVector.SPECIES_128; - static final Species lspec128 = LongVector.SPECIES_128; - static final Species dspec128 = DoubleVector.SPECIES_128; - static final Species bspec128 = ByteVector.SPECIES_128; - static final Species sspec128 = ShortVector.SPECIES_128; - - static final Species ispec256 = IntVector.SPECIES_256; - static final Species fspec256 = FloatVector.SPECIES_256; - static final Species lspec256 = LongVector.SPECIES_256; - static final Species dspec256 = DoubleVector.SPECIES_256; - static final Species bspec256 = ByteVector.SPECIES_256; - static final Species sspec256 = ShortVector.SPECIES_256; - - static final Species ispec512 = IntVector.SPECIES_512; - static final Species fspec512 = FloatVector.SPECIES_512; - static final Species lspec512 = LongVector.SPECIES_512; - static final Species dspec512 = DoubleVector.SPECIES_512; - static final Species bspec512 = ByteVector.SPECIES_512; - static final Species sspec512 = ShortVector.SPECIES_512; - - static final Species ispecMax = IntVector.SPECIES_MAX; - static final Species fspecMax = FloatVector.SPECIES_MAX; - static final Species lspecMax = LongVector.SPECIES_MAX; - static final Species dspecMax = DoubleVector.SPECIES_MAX; - static final Species bspecMax = ByteVector.SPECIES_MAX; - static final Species sspecMax = ShortVector.SPECIES_MAX; + static final VectorSpecies ispec64 = IntVector.SPECIES_64; + static final VectorSpecies fspec64 = FloatVector.SPECIES_64; + static final VectorSpecies lspec64 = LongVector.SPECIES_64; + static final VectorSpecies dspec64 = DoubleVector.SPECIES_64; + static final VectorSpecies bspec64 = ByteVector.SPECIES_64; + static final VectorSpecies sspec64 = ShortVector.SPECIES_64; + + static final VectorSpecies ispec128 = IntVector.SPECIES_128; + static final VectorSpecies fspec128 = FloatVector.SPECIES_128; + static final VectorSpecies lspec128 = LongVector.SPECIES_128; + static final VectorSpecies dspec128 = DoubleVector.SPECIES_128; + static final VectorSpecies bspec128 = ByteVector.SPECIES_128; + static final VectorSpecies sspec128 = ShortVector.SPECIES_128; + + static final VectorSpecies ispec256 = IntVector.SPECIES_256; + static final VectorSpecies fspec256 = FloatVector.SPECIES_256; + static final VectorSpecies lspec256 = LongVector.SPECIES_256; + static final VectorSpecies dspec256 = DoubleVector.SPECIES_256; + static final VectorSpecies bspec256 = ByteVector.SPECIES_256; + static final VectorSpecies sspec256 = ShortVector.SPECIES_256; + + static final VectorSpecies ispec512 = IntVector.SPECIES_512; + static final VectorSpecies fspec512 = FloatVector.SPECIES_512; + static final VectorSpecies lspec512 = LongVector.SPECIES_512; + static final VectorSpecies dspec512 = DoubleVector.SPECIES_512; + static final VectorSpecies bspec512 = ByteVector.SPECIES_512; + static final VectorSpecies sspec512 = ShortVector.SPECIES_512; + + static final VectorSpecies ispecMax = IntVector.SPECIES_MAX; + static final VectorSpecies fspecMax = FloatVector.SPECIES_MAX; + static final VectorSpecies lspecMax = LongVector.SPECIES_MAX; + static final VectorSpecies dspecMax = DoubleVector.SPECIES_MAX; + static final VectorSpecies bspecMax = ByteVector.SPECIES_MAX; + static final VectorSpecies sspecMax = ShortVector.SPECIES_MAX; - static Shape getMaxBit() { - return Shape.S_Max_BIT; + static VectorShape getMaxBit() { + return VectorShape.S_Max_BIT; } static IntFunction withToString(String s, IntFunction f) { @@ -278,21 +278,21 @@ @ForceInline static - void testVectorReshape(Vector.Species a, Vector.Species b, byte[] input, byte[] output) { + void testVectorReshape(VectorSpecies a, VectorSpecies b, byte[] input, byte[] output) { Vector av; Class stype = a.elementType(); if (stype == byte.class) { - av = (Vector) ByteVector.fromByteArray((Species)a, input, 0); + av = (Vector) ByteVector.fromByteArray((VectorSpecies)a, input, 0); } else if (stype == short.class) { - av = (Vector) ShortVector.fromByteArray((Species)a, input, 0); + av = (Vector) ShortVector.fromByteArray((VectorSpecies)a, input, 0); } else if (stype == int.class) { - av = (Vector) IntVector.fromByteArray((Species)a, input, 0); + av = (Vector) IntVector.fromByteArray((VectorSpecies)a, input, 0); } else if (stype == long.class) { - av = (Vector) LongVector.fromByteArray((Species)a, input, 0); + av = (Vector) LongVector.fromByteArray((VectorSpecies)a, input, 0); } else if (stype == float.class) { - av = (Vector) FloatVector.fromByteArray((Species)a, input, 0); + av = (Vector) FloatVector.fromByteArray((VectorSpecies)a, input, 0); } else if (stype == double.class) { - av = (Vector) DoubleVector.fromByteArray((Species)a, input, 0); + av = (Vector) DoubleVector.fromByteArray((VectorSpecies)a, input, 0); } else { throw new UnsupportedOperationException("Bad lane type"); } @@ -583,23 +583,23 @@ @ForceInline static - void testVectorRebracket(Vector.Species a, Vector.Species b, byte[] input, byte[] output) { + void testVectorRebracket(VectorSpecies a, VectorSpecies b, byte[] input, byte[] output) { assert(input.length == output.length); Vector av; Class stype = a.elementType(); if (stype == byte.class) { - av = (Vector) ByteVector.fromByteArray((Species)a, input, 0); + av = (Vector) ByteVector.fromByteArray((VectorSpecies)a, input, 0); } else if (stype == short.class) { - av = (Vector) ShortVector.fromByteArray((Species)a, input, 0); + av = (Vector) ShortVector.fromByteArray((VectorSpecies)a, input, 0); } else if (stype == int.class) { - av = (Vector) IntVector.fromByteArray((Species)a, input, 0); + av = (Vector) IntVector.fromByteArray((VectorSpecies)a, input, 0); } else if (stype == long.class) { - av = (Vector) LongVector.fromByteArray((Species)a, input, 0); + av = (Vector) LongVector.fromByteArray((VectorSpecies)a, input, 0); } else if (stype == float.class) { - av = (Vector) FloatVector.fromByteArray((Species)a, input, 0); + av = (Vector) FloatVector.fromByteArray((VectorSpecies)a, input, 0); } else if (stype == double.class) { - av = (Vector) DoubleVector.fromByteArray((Species)a, input, 0); + av = (Vector) DoubleVector.fromByteArray((VectorSpecies)a, input, 0); } else { throw new UnsupportedOperationException("Bad lane type"); } @@ -856,7 +856,7 @@ @ForceInline static - void testVectorCastByteToFloat(Species a, Species b, byte[] input, float[] output) { + void testVectorCastByteToFloat(VectorSpecies a, VectorSpecies b, byte[] input, float[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -874,7 +874,7 @@ @ForceInline static - void testVectorCastByteToFloatFail(Species a, Species b, byte[] input) { + void testVectorCastByteToFloatFail(VectorSpecies a, VectorSpecies b, byte[] input) { assert(input.length == a.length()); ByteVector av = ByteVector.fromArray(a, input, 0); @@ -889,7 +889,7 @@ @ForceInline static - void testVectorCastShortToFloat(Species a, Species b, short[] input, float[] output) { + void testVectorCastShortToFloat(VectorSpecies a, VectorSpecies b, short[] input, float[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -907,7 +907,7 @@ @ForceInline static - void testVectorCastShortToFloatFail(Species a, Species b, short[] input) { + void testVectorCastShortToFloatFail(VectorSpecies a, VectorSpecies b, short[] input) { assert(input.length == a.length()); ShortVector av = ShortVector.fromArray(a, input, 0); @@ -922,7 +922,7 @@ @ForceInline static - void testVectorCastIntToFloat(Species a, Species b, int[] input, float[] output) { + void testVectorCastIntToFloat(VectorSpecies a, VectorSpecies b, int[] input, float[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -940,7 +940,7 @@ @ForceInline static - void testVectorCastIntToFloatFail(Species a, Species b, int[] input) { + void testVectorCastIntToFloatFail(VectorSpecies a, VectorSpecies b, int[] input) { assert(input.length == a.length()); IntVector av = IntVector.fromArray(a, input, 0); @@ -955,7 +955,7 @@ @ForceInline static - void testVectorCastLongToFloat(Species a, Species b, long[] input, float[] output) { + void testVectorCastLongToFloat(VectorSpecies a, VectorSpecies b, long[] input, float[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -973,7 +973,7 @@ @ForceInline static - void testVectorCastLongToFloatFail(Species a, Species b, long[] input) { + void testVectorCastLongToFloatFail(VectorSpecies a, VectorSpecies b, long[] input) { assert(input.length == a.length()); LongVector av = LongVector.fromArray(a, input, 0); @@ -988,7 +988,7 @@ @ForceInline static - void testVectorCastFloatToFloat(Species a, Species b, float[] input, float[] output) { + void testVectorCastFloatToFloat(VectorSpecies a, VectorSpecies b, float[] input, float[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1006,7 +1006,7 @@ @ForceInline static - void testVectorCastFloatToFloatFail(Species a, Species b, float[] input) { + void testVectorCastFloatToFloatFail(VectorSpecies a, VectorSpecies b, float[] input) { assert(input.length == a.length()); FloatVector av = FloatVector.fromArray(a, input, 0); @@ -1021,7 +1021,7 @@ @ForceInline static - void testVectorCastDoubleToFloat(Species a, Species b, double[] input, float[] output) { + void testVectorCastDoubleToFloat(VectorSpecies a, VectorSpecies b, double[] input, float[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1039,7 +1039,7 @@ @ForceInline static - void testVectorCastDoubleToFloatFail(Species a, Species b, double[] input) { + void testVectorCastDoubleToFloatFail(VectorSpecies a, VectorSpecies b, double[] input) { assert(input.length == a.length()); DoubleVector av = DoubleVector.fromArray(a, input, 0); @@ -1054,7 +1054,7 @@ @ForceInline static - void testVectorCastByteToByte(Species a, Species b, byte[] input, byte[] output) { + void testVectorCastByteToByte(VectorSpecies a, VectorSpecies b, byte[] input, byte[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1072,7 +1072,7 @@ @ForceInline static - void testVectorCastByteToByteFail(Species a, Species b, byte[] input) { + void testVectorCastByteToByteFail(VectorSpecies a, VectorSpecies b, byte[] input) { assert(input.length == a.length()); ByteVector av = ByteVector.fromArray(a, input, 0); @@ -1087,7 +1087,7 @@ @ForceInline static - void testVectorCastShortToByte(Species a, Species b, short[] input, byte[] output) { + void testVectorCastShortToByte(VectorSpecies a, VectorSpecies b, short[] input, byte[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1105,7 +1105,7 @@ @ForceInline static - void testVectorCastShortToByteFail(Species a, Species b, short[] input) { + void testVectorCastShortToByteFail(VectorSpecies a, VectorSpecies b, short[] input) { assert(input.length == a.length()); ShortVector av = ShortVector.fromArray(a, input, 0); @@ -1120,7 +1120,7 @@ @ForceInline static - void testVectorCastIntToByte(Species a, Species b, int[] input, byte[] output) { + void testVectorCastIntToByte(VectorSpecies a, VectorSpecies b, int[] input, byte[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1138,7 +1138,7 @@ @ForceInline static - void testVectorCastIntToByteFail(Species a, Species b, int[] input) { + void testVectorCastIntToByteFail(VectorSpecies a, VectorSpecies b, int[] input) { assert(input.length == a.length()); IntVector av = IntVector.fromArray(a, input, 0); @@ -1153,7 +1153,7 @@ @ForceInline static - void testVectorCastLongToByte(Species a, Species b, long[] input, byte[] output) { + void testVectorCastLongToByte(VectorSpecies a, VectorSpecies b, long[] input, byte[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1171,7 +1171,7 @@ @ForceInline static - void testVectorCastLongToByteFail(Species a, Species b, long[] input) { + void testVectorCastLongToByteFail(VectorSpecies a, VectorSpecies b, long[] input) { assert(input.length == a.length()); LongVector av = LongVector.fromArray(a, input, 0); @@ -1186,7 +1186,7 @@ @ForceInline static - void testVectorCastFloatToByte(Species a, Species b, float[] input, byte[] output) { + void testVectorCastFloatToByte(VectorSpecies a, VectorSpecies b, float[] input, byte[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1204,7 +1204,7 @@ @ForceInline static - void testVectorCastFloatToByteFail(Species a, Species b, float[] input) { + void testVectorCastFloatToByteFail(VectorSpecies a, VectorSpecies b, float[] input) { assert(input.length == a.length()); FloatVector av = FloatVector.fromArray(a, input, 0); @@ -1219,7 +1219,7 @@ @ForceInline static - void testVectorCastDoubleToByte(Species a, Species b, double[] input, byte[] output) { + void testVectorCastDoubleToByte(VectorSpecies a, VectorSpecies b, double[] input, byte[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1237,7 +1237,7 @@ @ForceInline static - void testVectorCastDoubleToByteFail(Species a, Species b, double[] input) { + void testVectorCastDoubleToByteFail(VectorSpecies a, VectorSpecies b, double[] input) { assert(input.length == a.length()); DoubleVector av = DoubleVector.fromArray(a, input, 0); @@ -1252,7 +1252,7 @@ @ForceInline static - void testVectorCastByteToShort(Species a, Species b, byte[] input, short[] output) { + void testVectorCastByteToShort(VectorSpecies a, VectorSpecies b, byte[] input, short[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1270,7 +1270,7 @@ @ForceInline static - void testVectorCastByteToShortFail(Species a, Species b, byte[] input) { + void testVectorCastByteToShortFail(VectorSpecies a, VectorSpecies b, byte[] input) { assert(input.length == a.length()); ByteVector av = ByteVector.fromArray(a, input, 0); @@ -1285,7 +1285,7 @@ @ForceInline static - void testVectorCastShortToShort(Species a, Species b, short[] input, short[] output) { + void testVectorCastShortToShort(VectorSpecies a, VectorSpecies b, short[] input, short[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1303,7 +1303,7 @@ @ForceInline static - void testVectorCastShortToShortFail(Species a, Species b, short[] input) { + void testVectorCastShortToShortFail(VectorSpecies a, VectorSpecies b, short[] input) { assert(input.length == a.length()); ShortVector av = ShortVector.fromArray(a, input, 0); @@ -1318,7 +1318,7 @@ @ForceInline static - void testVectorCastIntToShort(Species a, Species b, int[] input, short[] output) { + void testVectorCastIntToShort(VectorSpecies a, VectorSpecies b, int[] input, short[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1336,7 +1336,7 @@ @ForceInline static - void testVectorCastIntToShortFail(Species a, Species b, int[] input) { + void testVectorCastIntToShortFail(VectorSpecies a, VectorSpecies b, int[] input) { assert(input.length == a.length()); IntVector av = IntVector.fromArray(a, input, 0); @@ -1351,7 +1351,7 @@ @ForceInline static - void testVectorCastLongToShort(Species a, Species b, long[] input, short[] output) { + void testVectorCastLongToShort(VectorSpecies a, VectorSpecies b, long[] input, short[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1369,7 +1369,7 @@ @ForceInline static - void testVectorCastLongToShortFail(Species a, Species b, long[] input) { + void testVectorCastLongToShortFail(VectorSpecies a, VectorSpecies b, long[] input) { assert(input.length == a.length()); LongVector av = LongVector.fromArray(a, input, 0); @@ -1384,7 +1384,7 @@ @ForceInline static - void testVectorCastFloatToShort(Species a, Species b, float[] input, short[] output) { + void testVectorCastFloatToShort(VectorSpecies a, VectorSpecies b, float[] input, short[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1402,7 +1402,7 @@ @ForceInline static - void testVectorCastFloatToShortFail(Species a, Species b, float[] input) { + void testVectorCastFloatToShortFail(VectorSpecies a, VectorSpecies b, float[] input) { assert(input.length == a.length()); FloatVector av = FloatVector.fromArray(a, input, 0); @@ -1417,7 +1417,7 @@ @ForceInline static - void testVectorCastDoubleToShort(Species a, Species b, double[] input, short[] output) { + void testVectorCastDoubleToShort(VectorSpecies a, VectorSpecies b, double[] input, short[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1435,7 +1435,7 @@ @ForceInline static - void testVectorCastDoubleToShortFail(Species a, Species b, double[] input) { + void testVectorCastDoubleToShortFail(VectorSpecies a, VectorSpecies b, double[] input) { assert(input.length == a.length()); DoubleVector av = DoubleVector.fromArray(a, input, 0); @@ -1450,7 +1450,7 @@ @ForceInline static - void testVectorCastByteToInt(Species a, Species b, byte[] input, int[] output) { + void testVectorCastByteToInt(VectorSpecies a, VectorSpecies b, byte[] input, int[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1468,7 +1468,7 @@ @ForceInline static - void testVectorCastByteToIntFail(Species a, Species b, byte[] input) { + void testVectorCastByteToIntFail(VectorSpecies a, VectorSpecies b, byte[] input) { assert(input.length == a.length()); ByteVector av = ByteVector.fromArray(a, input, 0); @@ -1483,7 +1483,7 @@ @ForceInline static - void testVectorCastShortToInt(Species a, Species b, short[] input, int[] output) { + void testVectorCastShortToInt(VectorSpecies a, VectorSpecies b, short[] input, int[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1501,7 +1501,7 @@ @ForceInline static - void testVectorCastShortToIntFail(Species a, Species b, short[] input) { + void testVectorCastShortToIntFail(VectorSpecies a, VectorSpecies b, short[] input) { assert(input.length == a.length()); ShortVector av = ShortVector.fromArray(a, input, 0); @@ -1516,7 +1516,7 @@ @ForceInline static - void testVectorCastIntToInt(Species a, Species b, int[] input, int[] output) { + void testVectorCastIntToInt(VectorSpecies a, VectorSpecies b, int[] input, int[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1534,7 +1534,7 @@ @ForceInline static - void testVectorCastIntToIntFail(Species a, Species b, int[] input) { + void testVectorCastIntToIntFail(VectorSpecies a, VectorSpecies b, int[] input) { assert(input.length == a.length()); IntVector av = IntVector.fromArray(a, input, 0); @@ -1549,7 +1549,7 @@ @ForceInline static - void testVectorCastLongToInt(Species a, Species b, long[] input, int[] output) { + void testVectorCastLongToInt(VectorSpecies a, VectorSpecies b, long[] input, int[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1567,7 +1567,7 @@ @ForceInline static - void testVectorCastLongToIntFail(Species a, Species b, long[] input) { + void testVectorCastLongToIntFail(VectorSpecies a, VectorSpecies b, long[] input) { assert(input.length == a.length()); LongVector av = LongVector.fromArray(a, input, 0); @@ -1582,7 +1582,7 @@ @ForceInline static - void testVectorCastFloatToInt(Species a, Species b, float[] input, int[] output) { + void testVectorCastFloatToInt(VectorSpecies a, VectorSpecies b, float[] input, int[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1600,7 +1600,7 @@ @ForceInline static - void testVectorCastFloatToIntFail(Species a, Species b, float[] input) { + void testVectorCastFloatToIntFail(VectorSpecies a, VectorSpecies b, float[] input) { assert(input.length == a.length()); FloatVector av = FloatVector.fromArray(a, input, 0); @@ -1615,7 +1615,7 @@ @ForceInline static - void testVectorCastDoubleToInt(Species a, Species b, double[] input, int[] output) { + void testVectorCastDoubleToInt(VectorSpecies a, VectorSpecies b, double[] input, int[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1633,7 +1633,7 @@ @ForceInline static - void testVectorCastDoubleToIntFail(Species a, Species b, double[] input) { + void testVectorCastDoubleToIntFail(VectorSpecies a, VectorSpecies b, double[] input) { assert(input.length == a.length()); DoubleVector av = DoubleVector.fromArray(a, input, 0); @@ -1648,7 +1648,7 @@ @ForceInline static - void testVectorCastByteToLong(Species a, Species b, byte[] input, long[] output) { + void testVectorCastByteToLong(VectorSpecies a, VectorSpecies b, byte[] input, long[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1666,7 +1666,7 @@ @ForceInline static - void testVectorCastByteToLongFail(Species a, Species b, byte[] input) { + void testVectorCastByteToLongFail(VectorSpecies a, VectorSpecies b, byte[] input) { assert(input.length == a.length()); ByteVector av = ByteVector.fromArray(a, input, 0); @@ -1681,7 +1681,7 @@ @ForceInline static - void testVectorCastShortToLong(Species a, Species b, short[] input, long[] output) { + void testVectorCastShortToLong(VectorSpecies a, VectorSpecies b, short[] input, long[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1699,7 +1699,7 @@ @ForceInline static - void testVectorCastShortToLongFail(Species a, Species b, short[] input) { + void testVectorCastShortToLongFail(VectorSpecies a, VectorSpecies b, short[] input) { assert(input.length == a.length()); ShortVector av = ShortVector.fromArray(a, input, 0); @@ -1714,7 +1714,7 @@ @ForceInline static - void testVectorCastIntToLong(Species a, Species b, int[] input, long[] output) { + void testVectorCastIntToLong(VectorSpecies a, VectorSpecies b, int[] input, long[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1732,7 +1732,7 @@ @ForceInline static - void testVectorCastIntToLongFail(Species a, Species b, int[] input) { + void testVectorCastIntToLongFail(VectorSpecies a, VectorSpecies b, int[] input) { assert(input.length == a.length()); IntVector av = IntVector.fromArray(a, input, 0); @@ -1747,7 +1747,7 @@ @ForceInline static - void testVectorCastLongToLong(Species a, Species b, long[] input, long[] output) { + void testVectorCastLongToLong(VectorSpecies a, VectorSpecies b, long[] input, long[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1765,7 +1765,7 @@ @ForceInline static - void testVectorCastLongToLongFail(Species a, Species b, long[] input) { + void testVectorCastLongToLongFail(VectorSpecies a, VectorSpecies b, long[] input) { assert(input.length == a.length()); LongVector av = LongVector.fromArray(a, input, 0); @@ -1780,7 +1780,7 @@ @ForceInline static - void testVectorCastFloatToLong(Species a, Species b, float[] input, long[] output) { + void testVectorCastFloatToLong(VectorSpecies a, VectorSpecies b, float[] input, long[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1798,7 +1798,7 @@ @ForceInline static - void testVectorCastFloatToLongFail(Species a, Species b, float[] input) { + void testVectorCastFloatToLongFail(VectorSpecies a, VectorSpecies b, float[] input) { assert(input.length == a.length()); FloatVector av = FloatVector.fromArray(a, input, 0); @@ -1813,7 +1813,7 @@ @ForceInline static - void testVectorCastDoubleToLong(Species a, Species b, double[] input, long[] output) { + void testVectorCastDoubleToLong(VectorSpecies a, VectorSpecies b, double[] input, long[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1831,7 +1831,7 @@ @ForceInline static - void testVectorCastDoubleToLongFail(Species a, Species b, double[] input) { + void testVectorCastDoubleToLongFail(VectorSpecies a, VectorSpecies b, double[] input) { assert(input.length == a.length()); DoubleVector av = DoubleVector.fromArray(a, input, 0); @@ -1846,7 +1846,7 @@ @ForceInline static - void testVectorCastByteToDouble(Species a, Species b, byte[] input, double[] output) { + void testVectorCastByteToDouble(VectorSpecies a, VectorSpecies b, byte[] input, double[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1864,7 +1864,7 @@ @ForceInline static - void testVectorCastByteToDoubleFail(Species a, Species b, byte[] input) { + void testVectorCastByteToDoubleFail(VectorSpecies a, VectorSpecies b, byte[] input) { assert(input.length == a.length()); ByteVector av = ByteVector.fromArray(a, input, 0); @@ -1879,7 +1879,7 @@ @ForceInline static - void testVectorCastShortToDouble(Species a, Species b, short[] input, double[] output) { + void testVectorCastShortToDouble(VectorSpecies a, VectorSpecies b, short[] input, double[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1897,7 +1897,7 @@ @ForceInline static - void testVectorCastShortToDoubleFail(Species a, Species b, short[] input) { + void testVectorCastShortToDoubleFail(VectorSpecies a, VectorSpecies b, short[] input) { assert(input.length == a.length()); ShortVector av = ShortVector.fromArray(a, input, 0); @@ -1912,7 +1912,7 @@ @ForceInline static - void testVectorCastIntToDouble(Species a, Species b, int[] input, double[] output) { + void testVectorCastIntToDouble(VectorSpecies a, VectorSpecies b, int[] input, double[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1930,7 +1930,7 @@ @ForceInline static - void testVectorCastIntToDoubleFail(Species a, Species b, int[] input) { + void testVectorCastIntToDoubleFail(VectorSpecies a, VectorSpecies b, int[] input) { assert(input.length == a.length()); IntVector av = IntVector.fromArray(a, input, 0); @@ -1945,7 +1945,7 @@ @ForceInline static - void testVectorCastLongToDouble(Species a, Species b, long[] input, double[] output) { + void testVectorCastLongToDouble(VectorSpecies a, VectorSpecies b, long[] input, double[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1963,7 +1963,7 @@ @ForceInline static - void testVectorCastLongToDoubleFail(Species a, Species b, long[] input) { + void testVectorCastLongToDoubleFail(VectorSpecies a, VectorSpecies b, long[] input) { assert(input.length == a.length()); LongVector av = LongVector.fromArray(a, input, 0); @@ -1978,7 +1978,7 @@ @ForceInline static - void testVectorCastFloatToDouble(Species a, Species b, float[] input, double[] output) { + void testVectorCastFloatToDouble(VectorSpecies a, VectorSpecies b, float[] input, double[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -1996,7 +1996,7 @@ @ForceInline static - void testVectorCastFloatToDoubleFail(Species a, Species b, float[] input) { + void testVectorCastFloatToDoubleFail(VectorSpecies a, VectorSpecies b, float[] input) { assert(input.length == a.length()); FloatVector av = FloatVector.fromArray(a, input, 0); @@ -2011,7 +2011,7 @@ @ForceInline static - void testVectorCastDoubleToDouble(Species a, Species b, double[] input, double[] output) { + void testVectorCastDoubleToDouble(VectorSpecies a, VectorSpecies b, double[] input, double[] output) { assert(input.length == a.length()); assert(output.length == b.length()); @@ -2029,7 +2029,7 @@ @ForceInline static - void testVectorCastDoubleToDoubleFail(Species a, Species b, double[] input) { + void testVectorCastDoubleToDoubleFail(VectorSpecies a, VectorSpecies b, double[] input) { assert(input.length == a.length()); DoubleVector av = DoubleVector.fromArray(a, input, 0); @@ -3057,7 +3057,7 @@ } static - void testVectorCastByteMaxToByte(Species a, Species b, + void testVectorCastByteMaxToByte(VectorSpecies a, VectorSpecies b, byte[] input, byte[] output) { if (S_Max_BIT.bitSize() == b.length() * Byte.SIZE) { testVectorCastByteToByte(a, b, input, output); @@ -3067,7 +3067,7 @@ } static - void testVectorCastByteMaxToShort(Species a, Species b, + void testVectorCastByteMaxToShort(VectorSpecies a, VectorSpecies b, byte[] input, short[] output) { if (S_Max_BIT.bitSize() == b.length() * Byte.SIZE) { testVectorCastByteToShort(a, b, input, output); @@ -3077,7 +3077,7 @@ } static - void testVectorCastByteMaxToInt(Species a, Species b, + void testVectorCastByteMaxToInt(VectorSpecies a, VectorSpecies b, byte[] input, int[] output) { if (S_Max_BIT.bitSize() == b.length() * Byte.SIZE) { testVectorCastByteToInt(a, b, input, output); @@ -3087,7 +3087,7 @@ } static - void testVectorCastByteMaxToLong(Species a, Species b, + void testVectorCastByteMaxToLong(VectorSpecies a, VectorSpecies b, byte[] input, long[] output) { if (S_Max_BIT.bitSize() == b.length() * Byte.SIZE) { testVectorCastByteToLong(a, b, input, output); @@ -3097,7 +3097,7 @@ } static - void testVectorCastByteMaxToFloat(Species a, Species b, + void testVectorCastByteMaxToFloat(VectorSpecies a, VectorSpecies b, byte[] input, float[] output) { if (S_Max_BIT.bitSize() == b.length() * Byte.SIZE) { testVectorCastByteToFloat(a, b, input, output); @@ -3107,7 +3107,7 @@ } static - void testVectorCastByteMaxToDouble(Species a, Species b, + void testVectorCastByteMaxToDouble(VectorSpecies a, VectorSpecies b, byte[] input, double[] output) { if (S_Max_BIT.bitSize() == b.length() * Byte.SIZE) { testVectorCastByteToDouble(a, b, input, output); @@ -3117,7 +3117,7 @@ } static - void testVectorCastShortMaxToByte(Species a, Species b, + void testVectorCastShortMaxToByte(VectorSpecies a, VectorSpecies b, short[] input, byte[] output) { if (S_Max_BIT.bitSize() == b.length() * Short.SIZE) { testVectorCastShortToByte(a, b, input, output); @@ -3127,7 +3127,7 @@ } static - void testVectorCastShortMaxToShort(Species a, Species b, + void testVectorCastShortMaxToShort(VectorSpecies a, VectorSpecies b, short[] input, short[] output) { if (S_Max_BIT.bitSize() == b.length() * Short.SIZE) { testVectorCastShortToShort(a, b, input, output); @@ -3137,7 +3137,7 @@ } static - void testVectorCastShortMaxToInt(Species a, Species b, + void testVectorCastShortMaxToInt(VectorSpecies a, VectorSpecies b, short[] input, int[] output) { if (S_Max_BIT.bitSize() == b.length() * Short.SIZE) { testVectorCastShortToInt(a, b, input, output); @@ -3147,7 +3147,7 @@ } static - void testVectorCastShortMaxToLong(Species a, Species b, + void testVectorCastShortMaxToLong(VectorSpecies a, VectorSpecies b, short[] input, long[] output) { if (S_Max_BIT.bitSize() == b.length() * Short.SIZE) { testVectorCastShortToLong(a, b, input, output); @@ -3157,7 +3157,7 @@ } static - void testVectorCastShortMaxToFloat(Species a, Species b, + void testVectorCastShortMaxToFloat(VectorSpecies a, VectorSpecies b, short[] input, float[] output) { if (S_Max_BIT.bitSize() == b.length() * Short.SIZE) { testVectorCastShortToFloat(a, b, input, output); @@ -3167,7 +3167,7 @@ } static - void testVectorCastShortMaxToDouble(Species a, Species b, + void testVectorCastShortMaxToDouble(VectorSpecies a, VectorSpecies b, short[] input, double[] output) { if (S_Max_BIT.bitSize() == b.length() * Short.SIZE) { testVectorCastShortToDouble(a, b, input, output); @@ -3177,7 +3177,7 @@ } static - void testVectorCastIntMaxToByte(Species a, Species b, + void testVectorCastIntMaxToByte(VectorSpecies a, VectorSpecies b, int[] input, byte[] output) { if (S_Max_BIT.bitSize() == b.length() * Integer.SIZE) { testVectorCastIntToByte(a, b, input, output); @@ -3187,7 +3187,7 @@ } static - void testVectorCastIntMaxToShort(Species a, Species b, + void testVectorCastIntMaxToShort(VectorSpecies a, VectorSpecies b, int[] input, short[] output) { if (S_Max_BIT.bitSize() == b.length() * Integer.SIZE) { testVectorCastIntToShort(a, b, input, output); @@ -3197,7 +3197,7 @@ } static - void testVectorCastIntMaxToInt(Species a, Species b, + void testVectorCastIntMaxToInt(VectorSpecies a, VectorSpecies b, int[] input, int[] output) { if (S_Max_BIT.bitSize() == b.length() * Integer.SIZE) { testVectorCastIntToInt(a, b, input, output); @@ -3207,7 +3207,7 @@ } static - void testVectorCastIntMaxToLong(Species a, Species b, + void testVectorCastIntMaxToLong(VectorSpecies a, VectorSpecies b, int[] input, long[] output) { if (S_Max_BIT.bitSize() == b.length() * Integer.SIZE) { testVectorCastIntToLong(a, b, input, output); @@ -3217,7 +3217,7 @@ } static - void testVectorCastIntMaxToFloat(Species a, Species b, + void testVectorCastIntMaxToFloat(VectorSpecies a, VectorSpecies b, int[] input, float[] output) { if (S_Max_BIT.bitSize() == b.length() * Integer.SIZE) { testVectorCastIntToFloat(a, b, input, output); @@ -3227,7 +3227,7 @@ } static - void testVectorCastIntMaxToDouble(Species a, Species b, + void testVectorCastIntMaxToDouble(VectorSpecies a, VectorSpecies b, int[] input, double[] output) { if (S_Max_BIT.bitSize() == b.length() * Integer.SIZE) { testVectorCastIntToDouble(a, b, input, output); @@ -3237,7 +3237,7 @@ } static - void testVectorCastLongMaxToByte(Species a, Species b, + void testVectorCastLongMaxToByte(VectorSpecies a, VectorSpecies b, long[] input, byte[] output) { if (S_Max_BIT.bitSize() == b.length() * Long.SIZE) { testVectorCastLongToByte(a, b, input, output); @@ -3247,7 +3247,7 @@ } static - void testVectorCastLongMaxToShort(Species a, Species b, + void testVectorCastLongMaxToShort(VectorSpecies a, VectorSpecies b, long[] input, short[] output) { if (S_Max_BIT.bitSize() == b.length() * Long.SIZE) { testVectorCastLongToShort(a, b, input, output); @@ -3257,7 +3257,7 @@ } static - void testVectorCastLongMaxToInt(Species a, Species b, + void testVectorCastLongMaxToInt(VectorSpecies a, VectorSpecies b, long[] input, int[] output) { if (S_Max_BIT.bitSize() == b.length() * Long.SIZE) { testVectorCastLongToInt(a, b, input, output); @@ -3267,7 +3267,7 @@ } static - void testVectorCastLongMaxToLong(Species a, Species b, + void testVectorCastLongMaxToLong(VectorSpecies a, VectorSpecies b, long[] input, long[] output) { if (S_Max_BIT.bitSize() == b.length() * Long.SIZE) { testVectorCastLongToLong(a, b, input, output); @@ -3277,7 +3277,7 @@ } static - void testVectorCastLongMaxToFloat(Species a, Species b, + void testVectorCastLongMaxToFloat(VectorSpecies a, VectorSpecies b, long[] input, float[] output) { if (S_Max_BIT.bitSize() == b.length() * Long.SIZE) { testVectorCastLongToFloat(a, b, input, output); @@ -3287,7 +3287,7 @@ } static - void testVectorCastLongMaxToDouble(Species a, Species b, + void testVectorCastLongMaxToDouble(VectorSpecies a, VectorSpecies b, long[] input, double[] output) { if (S_Max_BIT.bitSize() == b.length() * Long.SIZE) { testVectorCastLongToDouble(a, b, input, output); @@ -3297,7 +3297,7 @@ } static - void testVectorCastFloatMaxToByte(Species a, Species b, + void testVectorCastFloatMaxToByte(VectorSpecies a, VectorSpecies b, float[] input, byte[] output) { if (S_Max_BIT.bitSize() == b.length() * Float.SIZE) { testVectorCastFloatToByte(a, b, input, output); @@ -3307,7 +3307,7 @@ } static - void testVectorCastFloatMaxToShort(Species a, Species b, + void testVectorCastFloatMaxToShort(VectorSpecies a, VectorSpecies b, float[] input, short[] output) { if (S_Max_BIT.bitSize() == b.length() * Float.SIZE) { testVectorCastFloatToShort(a, b, input, output); @@ -3317,7 +3317,7 @@ } static - void testVectorCastFloatMaxToInt(Species a, Species b, + void testVectorCastFloatMaxToInt(VectorSpecies a, VectorSpecies b, float[] input, int[] output) { if (S_Max_BIT.bitSize() == b.length() * Float.SIZE) { testVectorCastFloatToInt(a, b, input, output); @@ -3327,7 +3327,7 @@ } static - void testVectorCastFloatMaxToLong(Species a, Species b, + void testVectorCastFloatMaxToLong(VectorSpecies a, VectorSpecies b, float[] input, long[] output) { if (S_Max_BIT.bitSize() == b.length() * Float.SIZE) { testVectorCastFloatToLong(a, b, input, output); @@ -3337,7 +3337,7 @@ } static - void testVectorCastFloatMaxToFloat(Species a, Species b, + void testVectorCastFloatMaxToFloat(VectorSpecies a, VectorSpecies b, float[] input, float[] output) { if (S_Max_BIT.bitSize() == b.length() * Float.SIZE) { testVectorCastFloatToFloat(a, b, input, output); @@ -3347,7 +3347,7 @@ } static - void testVectorCastFloatMaxToDouble(Species a, Species b, + void testVectorCastFloatMaxToDouble(VectorSpecies a, VectorSpecies b, float[] input, double[] output) { if (S_Max_BIT.bitSize() == b.length() * Float.SIZE) { testVectorCastFloatToDouble(a, b, input, output); @@ -3357,7 +3357,7 @@ } static - void testVectorCastDoubleMaxToByte(Species a, Species b, + void testVectorCastDoubleMaxToByte(VectorSpecies a, VectorSpecies b, double[] input, byte[] output) { if (S_Max_BIT.bitSize() == b.length() * Double.SIZE) { testVectorCastDoubleToByte(a, b, input, output); @@ -3367,7 +3367,7 @@ } static - void testVectorCastDoubleMaxToShort(Species a, Species b, + void testVectorCastDoubleMaxToShort(VectorSpecies a, VectorSpecies b, double[] input, short[] output) { if (S_Max_BIT.bitSize() == b.length() * Double.SIZE) { testVectorCastDoubleToShort(a, b, input, output); @@ -3377,7 +3377,7 @@ } static - void testVectorCastDoubleMaxToInt(Species a, Species b, + void testVectorCastDoubleMaxToInt(VectorSpecies a, VectorSpecies b, double[] input, int[] output) { if (S_Max_BIT.bitSize() == b.length() * Double.SIZE) { testVectorCastDoubleToInt(a, b, input, output); @@ -3387,7 +3387,7 @@ } static - void testVectorCastDoubleMaxToLong(Species a, Species b, + void testVectorCastDoubleMaxToLong(VectorSpecies a, VectorSpecies b, double[] input, long[] output) { if (S_Max_BIT.bitSize() == b.length() * Double.SIZE) { testVectorCastDoubleToLong(a, b, input, output); @@ -3397,7 +3397,7 @@ } static - void testVectorCastDoubleMaxToFloat(Species a, Species b, + void testVectorCastDoubleMaxToFloat(VectorSpecies a, VectorSpecies b, double[] input, float[] output) { if (S_Max_BIT.bitSize() == b.length() * Double.SIZE) { testVectorCastDoubleToFloat(a, b, input, output); @@ -3407,7 +3407,7 @@ } static - void testVectorCastDoubleMaxToDouble(Species a, Species b, + void testVectorCastDoubleMaxToDouble(VectorSpecies a, VectorSpecies b, double[] input, double[] output) { if (S_Max_BIT.bitSize() == b.length() * Double.SIZE) { testVectorCastDoubleToDouble(a, b, input, output);