707 UseSquareToLenIntrinsic = true; |
707 UseSquareToLenIntrinsic = true; |
708 } |
708 } |
709 if (FLAG_IS_DEFAULT(UseMulAddIntrinsic)) { |
709 if (FLAG_IS_DEFAULT(UseMulAddIntrinsic)) { |
710 UseMulAddIntrinsic = true; |
710 UseMulAddIntrinsic = true; |
711 } |
711 } |
|
712 if (FLAG_IS_DEFAULT(UseMontgomeryMultiplyIntrinsic)) { |
|
713 UseMontgomeryMultiplyIntrinsic = true; |
|
714 } |
|
715 if (FLAG_IS_DEFAULT(UseMontgomerySquareIntrinsic)) { |
|
716 UseMontgomerySquareIntrinsic = true; |
|
717 } |
712 #else |
718 #else |
713 if (UseMultiplyToLenIntrinsic) { |
719 if (UseMultiplyToLenIntrinsic) { |
714 if (!FLAG_IS_DEFAULT(UseMultiplyToLenIntrinsic)) { |
720 if (!FLAG_IS_DEFAULT(UseMultiplyToLenIntrinsic)) { |
715 warning("multiplyToLen intrinsic is not available in 32-bit VM"); |
721 warning("multiplyToLen intrinsic is not available in 32-bit VM"); |
716 } |
722 } |
725 if (UseMulAddIntrinsic) { |
731 if (UseMulAddIntrinsic) { |
726 if (!FLAG_IS_DEFAULT(UseMulAddIntrinsic)) { |
732 if (!FLAG_IS_DEFAULT(UseMulAddIntrinsic)) { |
727 warning("mulAdd intrinsic is not available in 32-bit VM"); |
733 warning("mulAdd intrinsic is not available in 32-bit VM"); |
728 } |
734 } |
729 FLAG_SET_DEFAULT(UseMulAddIntrinsic, false); |
735 FLAG_SET_DEFAULT(UseMulAddIntrinsic, false); |
|
736 } |
|
737 if (UseMontgomeryMultiplyIntrinsic) { |
|
738 if (!FLAG_IS_DEFAULT(UseMontgomeryMultiplyIntrinsic)) { |
|
739 warning("montgomeryMultiply intrinsic is not available in 32-bit VM"); |
|
740 } |
|
741 FLAG_SET_DEFAULT(UseMontgomeryMultiplyIntrinsic, false); |
|
742 } |
|
743 if (UseMontgomerySquareIntrinsic) { |
|
744 if (!FLAG_IS_DEFAULT(UseMontgomerySquareIntrinsic)) { |
|
745 warning("montgomerySquare intrinsic is not available in 32-bit VM"); |
|
746 } |
|
747 FLAG_SET_DEFAULT(UseMontgomerySquareIntrinsic, false); |
730 } |
748 } |
731 #endif |
749 #endif |
732 #endif // COMPILER2 |
750 #endif // COMPILER2 |
733 |
751 |
734 // On new cpus instructions which update whole XMM register should be used |
752 // On new cpus instructions which update whole XMM register should be used |