hotspot/src/cpu/aarch64/vm/stubGenerator_aarch64.cpp
changeset 35135 dd2ce9021031
parent 35119 7af8d9f08a25
parent 34664 41c821224dd7
child 35579 d21d5a0db03f
--- a/hotspot/src/cpu/aarch64/vm/stubGenerator_aarch64.cpp	Thu Dec 17 23:36:28 2015 +0000
+++ b/hotspot/src/cpu/aarch64/vm/stubGenerator_aarch64.cpp	Fri Dec 18 12:39:02 2015 -0800
@@ -2319,7 +2319,7 @@
   //   c_rarg4   - input length
   //
   // Output:
-  //   r0       - input length
+  //   r0        - input length
   //
   address generate_cipherBlockChaining_decryptAESCrypt() {
     assert(UseAES, "need AES instructions and misaligned SSE support");
@@ -2381,7 +2381,7 @@
       __ br(Assembler::EQ, L_rounds_52);
 
       __ aesd(v0, v17); __ aesimc(v0, v0);
-      __ aesd(v0, v17); __ aesimc(v0, v0);
+      __ aesd(v0, v18); __ aesimc(v0, v0);
     __ BIND(L_rounds_52);
       __ aesd(v0, v19); __ aesimc(v0, v0);
       __ aesd(v0, v20); __ aesimc(v0, v0);