< prev index next >

src/share/vm/runtime/sharedRuntime.hpp

Print this page
rev 8502 : 8130150: Implement BigInteger.montgomeryMultiply intrinsic
Summary: Add montgomeryMultiply intrinsics
Reviewed-by: kvn

*** 143,152 **** --- 143,158 ---- #if defined(__SOFTFP__) || defined(PPC32) static double dsqrt(double f); #endif + // Montgomery multiplication + static void montgomery_multiply(jint *a_ints, jint *b_ints, jint *n_ints, + jint len, jlong inv, jint *m_ints); + static void montgomery_square(jint *a_ints, jint *n_ints, + jint len, jlong inv, jint *m_ints); + #ifdef __SOFTFP__ // C++ compiler generates soft float instructions as well as passing // float and double in registers. static int fcmpl(float x, float y); static int fcmpg(float x, float y);
< prev index next >