mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-25 05:45:11 +02:00
8081778: Use Intel x64 CPU instructions for RSA acceleration
Add intrinsics for BigInteger squareToLen and mulAdd methods. Reviewed-by: kvn, jrose
This commit is contained in:
parent
7d22d69e0a
commit
93d1573c5e
18 changed files with 1077 additions and 2 deletions
|
@ -197,6 +197,8 @@ class StubRoutines: AllStatic {
|
|||
static address _crc_table_adr;
|
||||
|
||||
static address _multiplyToLen;
|
||||
static address _squareToLen;
|
||||
static address _mulAdd;
|
||||
|
||||
// These are versions of the java.lang.Math methods which perform
|
||||
// the same operations as the intrinsic version. They are used for
|
||||
|
@ -356,6 +358,8 @@ class StubRoutines: AllStatic {
|
|||
static address crc_table_addr() { return _crc_table_adr; }
|
||||
|
||||
static address multiplyToLen() {return _multiplyToLen; }
|
||||
static address squareToLen() {return _squareToLen; }
|
||||
static address mulAdd() {return _mulAdd; }
|
||||
|
||||
static address select_fill_function(BasicType t, bool aligned, const char* &name);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue