src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp
changeset 54990 cbc557f166f2
parent 54979 f982c1a6582c
child 54991 82fd8793ba5e
equal deleted inserted replaced
54989:d0c73c8f35ca 54990:cbc557f166f2
  4336         L_CMP_LOOP_LAST_CMP2, DONE, NOMATCH;
  4336         L_CMP_LOOP_LAST_CMP2, DONE, NOMATCH;
  4337     // Read whole register from str1. It is safe, because length >=8 here
  4337     // Read whole register from str1. It is safe, because length >=8 here
  4338     __ ldr(ch1, Address(str1));
  4338     __ ldr(ch1, Address(str1));
  4339     // Read whole register from str2. It is safe, because length >=8 here
  4339     // Read whole register from str2. It is safe, because length >=8 here
  4340     __ ldr(ch2, Address(str2));
  4340     __ ldr(ch2, Address(str2));
       
  4341     __ sub(cnt2, cnt2, cnt1);
  4341     __ andr(first, ch1, str1_isL ? 0xFF : 0xFFFF);
  4342     __ andr(first, ch1, str1_isL ? 0xFF : 0xFFFF);
  4342     if (str1_isL != str2_isL) {
  4343     if (str1_isL != str2_isL) {
  4343       __ eor(v0, __ T16B, v0, v0);
  4344       __ eor(v0, __ T16B, v0, v0);
  4344     }
  4345     }
  4345     __ mov(tmp1, str2_isL ? 0x0101010101010101 : 0x0001000100010001);
  4346     __ mov(tmp1, str2_isL ? 0x0101010101010101 : 0x0001000100010001);