Skip to content

Commit 1497555

Browse files
update
1 parent b7529e3 commit 1497555

40 files changed

Lines changed: 17565 additions & 6123 deletions

test/jdk/jdk/incubator/vector/AbstractVectorTest.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -256,21 +256,6 @@ public static int[] expectedShuffle(int length, IntUnaryOperator fn) {
256256
return a;
257257
}
258258

259-
interface FBooleanBinOp {
260-
boolean apply(boolean a, boolean b);
261-
}
262-
263-
static void assertArraysEquals(boolean[] r, boolean[] a, boolean[] b, FBooleanBinOp f) {
264-
int i = 0;
265-
try {
266-
for (; i < a.length; i++) {
267-
Assert.assertEquals(r[i], f.apply(a[i], b[i]));
268-
}
269-
} catch (AssertionError e) {
270-
Assert.assertEquals(r[i], f.apply(a[i], b[i]), "(" + a[i] + ", " + b[i] + ") at index #" + i);
271-
}
272-
}
273-
274259
// Non-optimized test partial wrap derived from the Spec:
275260
// Validation function for lane indexes which may be out of the valid range of [0..VLENGTH-1].
276261
// The index is forced into this range by adding or subtracting a suitable multiple of VLENGTH.

0 commit comments

Comments
 (0)