< prev index next >

src/share/vm/runtime/sharedRuntime.hpp

Print this page
rev 8502 : 8046943: JEP 246: Leverage CPU Instructions for GHASH and RSA
Summary: Add montgomeryMultiply intrinsic
Reviewed-by: kvn

@@ -143,10 +143,14 @@
 
 #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, unsigned long *scratch, 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 >