8080586: aarch64: hotspot test compiler/codegen/7184394/TestAESMain.java fails

Return correct length in generate_cipherBlockChaining_encryptAESCrypt

Reviewed-by: roland
This commit is contained in:
Ed Nevill 2015-05-18 15:52:33 +00:00
parent 66630f6ae5
commit 87e17632b5

View File

@ -1891,7 +1891,7 @@ class StubGenerator: public StubCodeGenerator {
address start = __ pc();
__ enter();
__ mov(rscratch1, len_reg);
__ mov(rscratch2, len_reg);
__ ldrw(keylen, Address(key, arrayOopDesc::length_offset_in_bytes() - arrayOopDesc::base_offset_in_bytes(T_INT)));
__ ld1(v0, __ T16B, rvec);