1 Commits

Author SHA1 Message Date
DingliZhang 23f4810c46 RISC-V: Several vector tests fail without misaligned vector access support
OpenJDK GHA Sanity Checks / Prepare the run (push) Has been cancelled
OpenJDK GHA Sanity Checks / linux-x64 (push) Has been cancelled
OpenJDK GHA Sanity Checks / linux-x64-hs-nopch (push) Has been cancelled
OpenJDK GHA Sanity Checks / linux-x64-hs-zero (push) Has been cancelled
OpenJDK GHA Sanity Checks / linux-x64-hs-minimal (push) Has been cancelled
OpenJDK GHA Sanity Checks / linux-x64-hs-optimized (push) Has been cancelled
OpenJDK GHA Sanity Checks / linux-x64-static (push) Has been cancelled
OpenJDK GHA Sanity Checks / linux-x64-static-libs (push) Has been cancelled
OpenJDK GHA Sanity Checks / linux-cross-compile (push) Has been cancelled
OpenJDK GHA Sanity Checks / alpine-linux-x64 (push) Has been cancelled
OpenJDK GHA Sanity Checks / macos-x64 (push) Has been cancelled
OpenJDK GHA Sanity Checks / macos-aarch64 (push) Has been cancelled
OpenJDK GHA Sanity Checks / windows-x64 (push) Has been cancelled
OpenJDK GHA Sanity Checks / windows-aarch64 (push) Has been cancelled
OpenJDK GHA Sanity Checks / docs (push) Has been cancelled
2025-09-25 23:18:28 +08:00
31 changed files with 62 additions and 62 deletions
@@ -611,7 +611,7 @@ public class Byte128VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -642,7 +642,7 @@ public class Byte128VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
ByteVector av = ByteVector.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());
@@ -611,7 +611,7 @@ public class Byte256VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -642,7 +642,7 @@ public class Byte256VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
ByteVector av = ByteVector.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());
@@ -611,7 +611,7 @@ public class Byte512VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -642,7 +642,7 @@ public class Byte512VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
ByteVector av = ByteVector.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());
@@ -611,7 +611,7 @@ public class Byte64VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -642,7 +642,7 @@ public class Byte64VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
ByteVector av = ByteVector.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());
@@ -618,7 +618,7 @@ public class ByteMaxVectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -649,7 +649,7 @@ public class ByteMaxVectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
ByteVector av = ByteVector.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());
@@ -611,7 +611,7 @@ public class Double128VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -642,7 +642,7 @@ public class Double128VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
DoubleVector av = DoubleVector.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());
@@ -611,7 +611,7 @@ public class Double256VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -642,7 +642,7 @@ public class Double256VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
DoubleVector av = DoubleVector.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());
@@ -611,7 +611,7 @@ public class Double512VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -642,7 +642,7 @@ public class Double512VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
DoubleVector av = DoubleVector.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());
@@ -611,7 +611,7 @@ public class Double64VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -642,7 +642,7 @@ public class Double64VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
DoubleVector av = DoubleVector.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());
@@ -618,7 +618,7 @@ public class DoubleMaxVectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -649,7 +649,7 @@ public class DoubleMaxVectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
DoubleVector av = DoubleVector.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());
@@ -611,7 +611,7 @@ public class Float128VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -642,7 +642,7 @@ public class Float128VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
FloatVector av = FloatVector.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());
@@ -611,7 +611,7 @@ public class Float256VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -642,7 +642,7 @@ public class Float256VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
FloatVector av = FloatVector.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());
@@ -611,7 +611,7 @@ public class Float512VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -642,7 +642,7 @@ public class Float512VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
FloatVector av = FloatVector.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());
@@ -611,7 +611,7 @@ public class Float64VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -642,7 +642,7 @@ public class Float64VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
FloatVector av = FloatVector.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());
@@ -618,7 +618,7 @@ public class FloatMaxVectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -649,7 +649,7 @@ public class FloatMaxVectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
FloatVector av = FloatVector.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());
@@ -611,7 +611,7 @@ public class Int128VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -642,7 +642,7 @@ public class Int128VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
IntVector av = IntVector.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());
@@ -611,7 +611,7 @@ public class Int256VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -642,7 +642,7 @@ public class Int256VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
IntVector av = IntVector.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());
@@ -611,7 +611,7 @@ public class Int512VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -642,7 +642,7 @@ public class Int512VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
IntVector av = IntVector.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());
@@ -611,7 +611,7 @@ public class Int64VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -642,7 +642,7 @@ public class Int64VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
IntVector av = IntVector.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());
@@ -618,7 +618,7 @@ public class IntMaxVectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -649,7 +649,7 @@ public class IntMaxVectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
IntVector av = IntVector.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());
@@ -611,7 +611,7 @@ public class Long128VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -642,7 +642,7 @@ public class Long128VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
LongVector av = LongVector.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());
@@ -611,7 +611,7 @@ public class Long256VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -642,7 +642,7 @@ public class Long256VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
LongVector av = LongVector.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());
@@ -611,7 +611,7 @@ public class Long512VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -642,7 +642,7 @@ public class Long512VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
LongVector av = LongVector.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());
@@ -611,7 +611,7 @@ public class Long64VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -642,7 +642,7 @@ public class Long64VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
LongVector av = LongVector.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());
@@ -618,7 +618,7 @@ public class LongMaxVectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -649,7 +649,7 @@ public class LongMaxVectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
LongVector av = LongVector.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());
@@ -611,7 +611,7 @@ public class Short128VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -642,7 +642,7 @@ public class Short128VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
ShortVector av = ShortVector.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());
@@ -611,7 +611,7 @@ public class Short256VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -642,7 +642,7 @@ public class Short256VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
ShortVector av = ShortVector.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());
@@ -611,7 +611,7 @@ public class Short512VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -642,7 +642,7 @@ public class Short512VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
ShortVector av = ShortVector.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());
@@ -611,7 +611,7 @@ public class Short64VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -642,7 +642,7 @@ public class Short64VectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
ShortVector av = ShortVector.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());
@@ -618,7 +618,7 @@ public class ShortMaxVectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -649,7 +649,7 @@ public class ShortMaxVectorLoadStoreTests extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
ShortVector av = ShortVector.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());
@@ -631,7 +631,7 @@ public class $vectorteststype$ extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
fromMemorySegment(a, index, ByteOrder.nativeOrder(), vmask);
@@ -662,7 +662,7 @@ public class $vectorteststype$ extends AbstractVectorLoadStoreTest {
}
}
int index = fi.apply((int) a.byteSize());
int index = fi.apply((int) a.byteSize()) & (~(SPECIES.elementSize() - 1));
boolean shouldFail = isIndexOutOfBoundsForMask(mask, index, (int) a.byteSize(), SPECIES.elementSize() / 8);
try {
$abstractvectortype$ av = $abstractvectortype$.fromMemorySegment(SPECIES, a, 0, ByteOrder.nativeOrder());