changeset 8307:a628f9c01e43

8080586: aarch64: hotspot test compiler/codegen/7184394/TestAESMain.java fails Summary: Return correct length in generate_cipherBlockChaining_encryptAESCrypt Reviewed-by: roland
author enevill
date Mon, 18 May 2015 15:52:33 +0000
parents b7e5b185e33a
children 9dc9bcc49745
files src/cpu/aarch64/vm/stubGenerator_aarch64.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/aarch64/vm/stubGenerator_aarch64.cpp	Fri May 15 09:21:48 2015 +0000
+++ b/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);