< prev index next >

src/cpu/aarch64/vm/stubGenerator_aarch64.cpp

Print this page
rev 8307 : 8080586: aarch64: hotspot test compiler/codegen/7184394/TestAESMain.java fails
Summary: Return correct length in generate_cipherBlockChaining_encryptAESCrypt
Reviewed-by: duke

*** 1889,1899 **** const Register keylen = rscratch1; address start = __ pc(); __ enter(); ! __ mov(rscratch1, len_reg); __ ldrw(keylen, Address(key, arrayOopDesc::length_offset_in_bytes() - arrayOopDesc::base_offset_in_bytes(T_INT))); __ ld1(v0, __ T16B, rvec); __ cmpw(keylen, 52); --- 1889,1899 ---- const Register keylen = rscratch1; address start = __ pc(); __ enter(); ! __ mov(rscratch2, len_reg); __ ldrw(keylen, Address(key, arrayOopDesc::length_offset_in_bytes() - arrayOopDesc::base_offset_in_bytes(T_INT))); __ ld1(v0, __ T16B, rvec); __ cmpw(keylen, 52);
< prev index next >