Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 23f4810c46 |
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user