hotspot/src/cpu/x86/vm/interpreter_x86_32.cpp
changeset 33465 6063f28a6efb
parent 33089 f4e956ed8b43
child 34651 07b1cc0f6040
equal deleted inserted replaced
33464:8c06a6558874 33465:6063f28a6efb
   130         break;
   130         break;
   131     case Interpreter::java_lang_math_abs:
   131     case Interpreter::java_lang_math_abs:
   132         __ fabs();
   132         __ fabs();
   133         break;
   133         break;
   134     case Interpreter::java_lang_math_log:
   134     case Interpreter::java_lang_math_log:
   135         __ flog();
   135         __ subptr(rsp, 2 * wordSize);
   136         // Store to stack to convert 80bit precision back to 64bits
   136         __ fstp_d(Address(rsp, 0));
   137         __ push_fTOS();
   137         if (VM_Version::supports_sse2()) {
   138         __ pop_fTOS();
   138           __ call(RuntimeAddress(CAST_FROM_FN_PTR(address, StubRoutines::dlog())));
       
   139         }
       
   140         else {
       
   141           __ call(RuntimeAddress(CAST_FROM_FN_PTR(address, SharedRuntime::dlog)));
       
   142         }
       
   143         __ addptr(rsp, 2 * wordSize);
   139         break;
   144         break;
   140     case Interpreter::java_lang_math_log10:
   145     case Interpreter::java_lang_math_log10:
   141         __ flog10();
   146         __ flog10();
   142         // Store to stack to convert 80bit precision back to 64bits
   147         // Store to stack to convert 80bit precision back to 64bits
   143         __ push_fTOS();
   148         __ push_fTOS();