diff src/cpu/x86/vm/stubGenerator_x86_32.cpp @ 14909:4ca6dc0799b6

Backout jdk9 merge
author Gilles Duboscq <duboscq@ssw.jku.at>
date Tue, 01 Apr 2014 13:57:07 +0200
parents d8041d695d19
children 4062efea018b
line wrap: on
line diff
--- a/src/cpu/x86/vm/stubGenerator_x86_32.cpp	Tue Apr 01 14:09:03 2014 +0200
+++ b/src/cpu/x86/vm/stubGenerator_x86_32.cpp	Tue Apr 01 13:57:07 2014 +0200
@@ -2403,9 +2403,6 @@
   //   c_rarg3   - r vector byte array address
   //   c_rarg4   - input length
   //
-  // Output:
-  //   rax       - input length
-  //
   address generate_cipherBlockChaining_encryptAESCrypt() {
     assert(UseAES, "need AES instructions and misaligned SSE support");
     __ align(CodeEntryAlignment);
@@ -2486,7 +2483,7 @@
     __ movdqu(Address(rvec, 0), xmm_result);     // final value of r stored in rvec of CipherBlockChaining object
 
     handleSOERegisters(false /*restoring*/);
-    __ movptr(rax, len_param); // return length
+    __ movl(rax, 0);                             // return 0 (why?)
     __ leave();                                  // required for proper stackwalking of RuntimeStub frame
     __ ret(0);
 
@@ -2560,9 +2557,6 @@
   //   c_rarg3   - r vector byte array address
   //   c_rarg4   - input length
   //
-  // Output:
-  //   rax       - input length
-  //
 
   address generate_cipherBlockChaining_decryptAESCrypt() {
     assert(UseAES, "need AES instructions and misaligned SSE support");
@@ -2656,7 +2650,7 @@
     __ movptr(rvec , rvec_param);                                     // restore this since used in loop
     __ movdqu(Address(rvec, 0), xmm_temp);                            // final value of r stored in rvec of CipherBlockChaining object
     handleSOERegisters(false /*restoring*/);
-    __ movptr(rax, len_param); // return length
+    __ movl(rax, 0);                                                  // return 0 (why?)
     __ leave();                                                       // required for proper stackwalking of RuntimeStub frame
     __ ret(0);