Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/stubRoutines.hpp @ 20438:166d744df0de
8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
Summary: Add new C2 intrinsic for BigInteger::multiplyToLen() on x86 in 64-bit VM.
Reviewed-by: roland
author | kvn |
---|---|
date | Tue, 02 Sep 2014 12:48:45 -0700 |
parents | b20a35eae442 |
children | 7848fc12602b ddce0b7cee93 |
comparison
equal
deleted
inserted
replaced
20437:bddcb33dadf4 | 20438:166d744df0de |
---|---|
215 static address _sha512_implCompressMB; | 215 static address _sha512_implCompressMB; |
216 | 216 |
217 static address _updateBytesCRC32; | 217 static address _updateBytesCRC32; |
218 static address _crc_table_adr; | 218 static address _crc_table_adr; |
219 | 219 |
220 static address _multiplyToLen; | |
221 | |
220 // These are versions of the java.lang.Math methods which perform | 222 // These are versions of the java.lang.Math methods which perform |
221 // the same operations as the intrinsic version. They are used for | 223 // the same operations as the intrinsic version. They are used for |
222 // constant folding in the compiler to ensure equivalence. If the | 224 // constant folding in the compiler to ensure equivalence. If the |
223 // intrinsic version returns the same result as the strict version | 225 // intrinsic version returns the same result as the strict version |
224 // then they can be set to the appropriate function from | 226 // then they can be set to the appropriate function from |
371 static address sha512_implCompressMB() { return _sha512_implCompressMB; } | 373 static address sha512_implCompressMB() { return _sha512_implCompressMB; } |
372 | 374 |
373 static address updateBytesCRC32() { return _updateBytesCRC32; } | 375 static address updateBytesCRC32() { return _updateBytesCRC32; } |
374 static address crc_table_addr() { return _crc_table_adr; } | 376 static address crc_table_addr() { return _crc_table_adr; } |
375 | 377 |
378 static address multiplyToLen() {return _multiplyToLen; } | |
379 | |
376 static address select_fill_function(BasicType t, bool aligned, const char* &name); | 380 static address select_fill_function(BasicType t, bool aligned, const char* &name); |
377 | 381 |
378 static address zero_aligned_words() { return _zero_aligned_words; } | 382 static address zero_aligned_words() { return _zero_aligned_words; } |
379 | 383 |
380 static double intrinsic_log(double d) { | 384 static double intrinsic_log(double d) { |