8080586: aarch64: hotspot test compiler/codegen/7184394/TestAESMain.java fails
Summary: Return correct length in generate_cipherBlockChaining_encryptAESCrypt
Reviewed-by: roland
--- a/hotspot/src/cpu/aarch64/vm/stubGenerator_aarch64.cpp Fri May 15 09:21:48 2015 +0000
+++ b/hotspot/src/cpu/aarch64/vm/stubGenerator_aarch64.cpp Mon May 18 15:52:33 2015 +0000
@@ -1891,7 +1891,7 @@
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);