Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/stubRoutines.hpp @ 23886:5601e440e5e7
8130150: Implement BigInteger.montgomeryMultiply intrinsic
Reviewed-by: kvn, mdoerr
author | vkempik |
---|---|
date | Fri, 04 Mar 2016 16:15:48 +0300 |
parents | 51c505229e71 |
children | f13e777eb255 |
comparison
equal
deleted
inserted
replaced
23885:51c505229e71 | 23886:5601e440e5e7 |
---|---|
209 static address _crc_table_adr; | 209 static address _crc_table_adr; |
210 | 210 |
211 static address _multiplyToLen; | 211 static address _multiplyToLen; |
212 static address _squareToLen; | 212 static address _squareToLen; |
213 static address _mulAdd; | 213 static address _mulAdd; |
214 static address _montgomeryMultiply; | |
215 static address _montgomerySquare; | |
214 | 216 |
215 // These are versions of the java.lang.Math methods which perform | 217 // These are versions of the java.lang.Math methods which perform |
216 // the same operations as the intrinsic version. They are used for | 218 // the same operations as the intrinsic version. They are used for |
217 // constant folding in the compiler to ensure equivalence. If the | 219 // constant folding in the compiler to ensure equivalence. If the |
218 // intrinsic version returns the same result as the strict version | 220 // intrinsic version returns the same result as the strict version |
369 static address crc_table_addr() { return _crc_table_adr; } | 371 static address crc_table_addr() { return _crc_table_adr; } |
370 | 372 |
371 static address multiplyToLen() {return _multiplyToLen; } | 373 static address multiplyToLen() {return _multiplyToLen; } |
372 static address squareToLen() {return _squareToLen; } | 374 static address squareToLen() {return _squareToLen; } |
373 static address mulAdd() {return _mulAdd; } | 375 static address mulAdd() {return _mulAdd; } |
376 static address montgomeryMultiply() { return _montgomeryMultiply; } | |
377 static address montgomerySquare() { return _montgomerySquare; } | |
374 | 378 |
375 static address select_fill_function(BasicType t, bool aligned, const char* &name); | 379 static address select_fill_function(BasicType t, bool aligned, const char* &name); |
376 | 380 |
377 static address zero_aligned_words() { return _zero_aligned_words; } | 381 static address zero_aligned_words() { return _zero_aligned_words; } |
378 | 382 |