TestShortIntVect.java revision 3845
0N/A * @run main/othervm/timeout=300 -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation -XX:-OptimizeFill TestShortIntVect
3912N/Apublic class TestShortIntVect {
a1[i] = (short)i;
b1[i] = (int)i;
int v = i%ALIGN_OFF;
int v = i%ALIGN_OFF;
a1[i] = (short)i;
b1[i] = (int)i;
int v = i%UNALIGN_OFF;
int v = i%UNALIGN_OFF;
return errn;
return errn;
static void test_ci(short[] a, int[] b) {
static void test_vi(short[] a, int[] b, short c, int d) {
static void test_cp(short[] a, short[] b, int[] c, int[] d) {
static void test_ci_neg(short[] a, int[] b) {
static void test_vi_neg(short[] a, int[] b, short c, int d) {
static void test_cp_neg(short[] a, short[] b, int[] c, int[] d) {
static void test_ci_oppos(short[] a, int[] b) {
static void test_vi_oppos(short[] a, int[] b, short c, int d) {
b[limit-i] = d;
static void test_cp_oppos(short[] a, short[] b, int[] c, int[] d) {
a[i] = b[limit-i];
c[limit-i] = d[i];
static void test_ci_aln(short[] a, int[] b) {
static void test_vi_aln(short[] a, int[] b, short c, int d) {
b[i+ALIGN_OFF] = d;
static void test_cp_alndst(short[] a, short[] b, int[] c, int[] d) {
a[i+ALIGN_OFF] = b[i];
c[i+ALIGN_OFF] = d[i];
static void test_cp_alnsrc(short[] a, short[] b, int[] c, int[] d) {
a[i] = b[i+ALIGN_OFF];
c[i] = d[i+ALIGN_OFF];
static void test_ci_unaln(short[] a, int[] b) {
static void test_vi_unaln(short[] a, int[] b, short c, int d) {
b[i+UNALIGN_OFF] = d;
static void test_cp_unalndst(short[] a, short[] b, int[] c, int[] d) {
a[i+UNALIGN_OFF] = b[i];
c[i+UNALIGN_OFF] = d[i];
static void test_cp_unalnsrc(short[] a, short[] b, int[] c, int[] d) {
a[i] = b[i+UNALIGN_OFF];
c[i] = d[i+UNALIGN_OFF];