8143353: update for x86 sin and cos in the math lib

Optimize Math.sin() and cos() for 64 and 32 bit X86 architecture using Intel LIBM  implementation.

Reviewed-by: kvn
This commit is contained in:
Vivek Deshpande 2016-01-08 21:06:50 -08:00
parent ad3414f985
commit 6a52e93df7
33 changed files with 6271 additions and 2534 deletions

View file

@ -4010,7 +4010,6 @@ int MatchRule::is_expensive() const {
if( _rChild ) {
const char *opType = _rChild->_opType;
if( strcmp(opType,"AtanD")==0 ||
strcmp(opType,"CosD")==0 ||
strcmp(opType,"DivD")==0 ||
strcmp(opType,"DivF")==0 ||
strcmp(opType,"DivI")==0 ||
@ -4018,7 +4017,6 @@ int MatchRule::is_expensive() const {
strcmp(opType,"ModD")==0 ||
strcmp(opType,"ModF")==0 ||
strcmp(opType,"ModI")==0 ||
strcmp(opType,"SinD")==0 ||
strcmp(opType,"SqrtD")==0 ||
strcmp(opType,"TanD")==0 ||
strcmp(opType,"ConvD2F")==0 ||