Mercurial > hg > graal-jvmci-8
diff src/share/vm/opto/subnode.cpp @ 6084:6759698e3140
7133857: exp() and pow() should use the x87 ISA on x86
Summary: use x87 instructions to implement exp() and pow() in interpreter/c1/c2.
Reviewed-by: kvn, never, twisti
author | roland |
---|---|
date | Tue, 15 May 2012 10:10:23 +0200 |
parents | 35acf8f0a2e4 |
children | 8f6ce6f1049b |
line wrap: on
line diff
--- a/src/share/vm/opto/subnode.cpp Mon May 14 09:36:00 2012 -0700 +++ b/src/share/vm/opto/subnode.cpp Tue May 15 10:10:23 2012 +0200 @@ -1314,7 +1314,5 @@ if( t2->base() != Type::DoubleCon ) return Type::DOUBLE; double d1 = t1->getd(); double d2 = t2->getd(); - if( d1 < 0.0 ) return Type::DOUBLE; - if( d2 < 0.0 ) return Type::DOUBLE; return TypeD::make( StubRoutines::intrinsic_pow( d1, d2 ) ); }