src/cpu/x86/vm/stubGenerator_x86_64.cpp

changeset 8490
5601e440e5e7
parent 8318
ea7ac121a5d3
child 8604
04d83ba48607
child 8877
f04097176542
     1.1 --- a/src/cpu/x86/vm/stubGenerator_x86_64.cpp	Wed Feb 17 13:40:12 2016 +0300
     1.2 +++ b/src/cpu/x86/vm/stubGenerator_x86_64.cpp	Fri Mar 04 16:15:48 2016 +0300
     1.3 @@ -4094,7 +4094,18 @@
     1.4      if (UseMulAddIntrinsic) {
     1.5        StubRoutines::_mulAdd = generate_mulAdd();
     1.6      }
     1.7 -#endif
     1.8 +
     1.9 +#ifndef _WINDOWS
    1.10 +    if (UseMontgomeryMultiplyIntrinsic) {
    1.11 +      StubRoutines::_montgomeryMultiply
    1.12 +        = CAST_FROM_FN_PTR(address, SharedRuntime::montgomery_multiply);
    1.13 +    }
    1.14 +    if (UseMontgomerySquareIntrinsic) {
    1.15 +      StubRoutines::_montgomerySquare
    1.16 +        = CAST_FROM_FN_PTR(address, SharedRuntime::montgomery_square);
    1.17 +    }
    1.18 +#endif // WINDOWS
    1.19 +#endif // COMPILER2
    1.20    }
    1.21  
    1.22   public:

mercurial