mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
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:
parent
ad3414f985
commit
6a52e93df7
33 changed files with 6271 additions and 2534 deletions
|
@ -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 ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue