8080586: aarch64: hotspot test compiler/codegen/7184394/TestAESMain.java fails
authorenevill
Mon, 18 May 2015 15:52:33 +0000
changeset 30553 27039e118599
parent 30552 ff209a4a81b5
child 30636 88a2dcd47bbc
8080586: aarch64: hotspot test compiler/codegen/7184394/TestAESMain.java fails Summary: Return correct length in generate_cipherBlockChaining_encryptAESCrypt Reviewed-by: roland
hotspot/src/cpu/aarch64/vm/stubGenerator_aarch64.cpp
--- 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);