< prev index next >
test/jdk/jdk/incubator/vector/templates/Unit-Compare.template
Print this page
rev 55892 : 8222933: [vector] Test failures after api change in JDK-8222752
Summary: Test failure becaues of renaming get() and getElement() functions to lane() in changeset http://hg.openjdk.java.net/panama/dev/rev/82514a6254e6
Reviewed-by: sviswanathan
*** 10,20 ****
$abstractvectortype$ bv = $abstractvectortype$.fromArray(SPECIES, b, i);
VectorMask<$Wideboxtype$> mv = av.[[TEST]](bv);
// Check results as part of computation.
for (int j = 0; j < SPECIES.length(); j++) {
! Assert.assertEquals(mv.getElement(j), a[i + j] [[TEST_OP]] b[i + j]);
}
}
}
}
--- 10,20 ----
$abstractvectortype$ bv = $abstractvectortype$.fromArray(SPECIES, b, i);
VectorMask<$Wideboxtype$> mv = av.[[TEST]](bv);
// Check results as part of computation.
for (int j = 0; j < SPECIES.length(); j++) {
! Assert.assertEquals(mv.lane(j), a[i + j] [[TEST_OP]] b[i + j]);
}
}
}
}
< prev index next >