Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/sharedRuntime.hpp @ 23886:5601e440e5e7
8130150: Implement BigInteger.montgomeryMultiply intrinsic
Reviewed-by: kvn, mdoerr
author | vkempik |
---|---|
date | Fri, 04 Mar 2016 16:15:48 +0300 |
parents | cf9f24de0b93 |
children | f13e777eb255 |
comparison
equal
deleted
inserted
replaced
23885:51c505229e71 | 23886:5601e440e5e7 |
---|---|
142 #endif | 142 #endif |
143 | 143 |
144 #if defined(__SOFTFP__) || defined(PPC32) | 144 #if defined(__SOFTFP__) || defined(PPC32) |
145 static double dsqrt(double f); | 145 static double dsqrt(double f); |
146 #endif | 146 #endif |
147 | |
148 // Montgomery multiplication | |
149 static void montgomery_multiply(jint *a_ints, jint *b_ints, jint *n_ints, | |
150 jint len, jlong inv, jint *m_ints); | |
151 static void montgomery_square(jint *a_ints, jint *n_ints, | |
152 jint len, jlong inv, jint *m_ints); | |
147 | 153 |
148 #ifdef __SOFTFP__ | 154 #ifdef __SOFTFP__ |
149 // C++ compiler generates soft float instructions as well as passing | 155 // C++ compiler generates soft float instructions as well as passing |
150 // float and double in registers. | 156 // float and double in registers. |
151 static int fcmpl(float x, float y); | 157 static int fcmpl(float x, float y); |