< prev index next > test/hotspot/jtreg/compiler/c2/irTests/TestVectorizationNotRun.java
Print this page
static int sizeBytes = 8 * size;
static byte[] byteArray = new byte[sizeBytes];
static long[] longArray = new long[size];
@Test
! @IR(counts = { IRNode.LOAD_VECTOR_L, ">=1", IRNode.STORE_VECTOR, ">=1" })
public static void test(byte[] dest, long[] src) {
for (int i = 0; i < src.length; i++) {
if ((i < 0) || (8 > sizeBytes - i)) {
throw new IndexOutOfBoundsException();
}
static int sizeBytes = 8 * size;
static byte[] byteArray = new byte[sizeBytes];
static long[] longArray = new long[size];
@Test
! @IR(applyIf = {"UseCompactObjectHeaders", "false"},
+ counts = { IRNode.LOAD_VECTOR_L, ">=1", IRNode.STORE_VECTOR, ">=1" })
public static void test(byte[] dest, long[] src) {
for (int i = 0; i < src.length; i++) {
if ((i < 0) || (8 > sizeBytes - i)) {
throw new IndexOutOfBoundsException();
}
< prev index next >