TestByteVect.java revision 3845
0N/A * @run main/othervm/timeout=300 -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation -XX:-OptimizeFill TestByteVect
0N/Apublic class TestByteVect {
int v = i%UNALIGN_OFF;
int v = i%UNALIGN_OFF;
return errn;
return errn;
static void test_ci(byte[] a) {
static void test_vi(byte[] a, byte b) {
static void test_cp(byte[] a, byte[] b) {
static void test_2ci(byte[] a, byte[] b) {
static void test_2vi(byte[] a, byte[] b, byte c, byte d) {
static void test_ci_neg(byte[] a) {
static void test_vi_neg(byte[] a, byte b) {
static void test_cp_neg(byte[] a, byte[] b) {
static void test_2ci_neg(byte[] a, byte[] b) {
static void test_2vi_neg(byte[] a, byte[] b, byte c, byte d) {
static void test_ci_oppos(byte[] a) {
static void test_vi_oppos(byte[] a, byte b) {
a[limit-i] = b;
static void test_cp_oppos(byte[] a, byte[] b) {
a[i] = b[limit-i];
static void test_2ci_oppos(byte[] a, byte[] b) {
static void test_2vi_oppos(byte[] a, byte[] b, byte c, byte d) {
b[limit-i] = d;
static void test_ci_off(byte[] a) {
static void test_vi_off(byte[] a, byte b) {
a[i+OFFSET] = b;
static void test_cp_off(byte[] a, byte[] b) {
static void test_2ci_off(byte[] a, byte[] b) {
static void test_2vi_off(byte[] a, byte[] b, byte c, byte d) {
a[i+OFFSET] = c;
b[i+OFFSET] = d;
static void test_ci_inv(byte[] a, int k) {
static void test_vi_inv(byte[] a, byte b, int k) {
static void test_cp_inv(byte[] a, byte[] b, int k) {
static void test_2ci_inv(byte[] a, byte[] b, int k) {
static void test_2vi_inv(byte[] a, byte[] b, byte c, byte d, int k) {
static void test_ci_scl(byte[] a) {
static void test_vi_scl(byte[] a, byte b) {
a[i*SCALE] = b;
static void test_cp_scl(byte[] a, byte[] b) {
static void test_2ci_scl(byte[] a, byte[] b) {
static void test_2vi_scl(byte[] a, byte[] b, byte c, byte d) {
a[i*SCALE] = c;
b[i*SCALE] = d;
static void test_cp_alndst(byte[] a, byte[] b) {
a[i+ALIGN_OFF] = b[i];
static void test_cp_alnsrc(byte[] a, byte[] b) {
a[i] = b[i+ALIGN_OFF];
static void test_2ci_aln(byte[] a, byte[] b) {
static void test_2vi_aln(byte[] a, byte[] b, byte c, byte d) {
b[i+ALIGN_OFF] = d;
static void test_cp_unalndst(byte[] a, byte[] b) {
a[i+UNALIGN_OFF] = b[i];
static void test_cp_unalnsrc(byte[] a, byte[] b) {
a[i] = b[i+UNALIGN_OFF];
static void test_2ci_unaln(byte[] a, byte[] b) {
static void test_2vi_unaln(byte[] a, byte[] b, byte c, byte d) {
b[i+UNALIGN_OFF] = d;