Mercurial > hg > graal-jvmci-8
diff src/cpu/x86/vm/stubGenerator_x86_64.cpp @ 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 |
line wrap: on
line diff
--- a/src/cpu/x86/vm/stubGenerator_x86_64.cpp Wed Feb 17 13:40:12 2016 +0300 +++ b/src/cpu/x86/vm/stubGenerator_x86_64.cpp Fri Mar 04 16:15:48 2016 +0300 @@ -4094,7 +4094,18 @@ if (UseMulAddIntrinsic) { StubRoutines::_mulAdd = generate_mulAdd(); } -#endif + +#ifndef _WINDOWS + if (UseMontgomeryMultiplyIntrinsic) { + StubRoutines::_montgomeryMultiply + = CAST_FROM_FN_PTR(address, SharedRuntime::montgomery_multiply); + } + if (UseMontgomerySquareIntrinsic) { + StubRoutines::_montgomerySquare + = CAST_FROM_FN_PTR(address, SharedRuntime::montgomery_square); + } +#endif // WINDOWS +#endif // COMPILER2 } public: