Mercurial > hg > truffle
diff src/share/vm/c1/c1_LIRGenerator.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 | 0105f367a14c |
children | 8f37087fc13f |
line wrap: on
line diff
--- a/src/share/vm/c1/c1_LIRGenerator.cpp Mon May 14 09:36:00 2012 -0700 +++ b/src/share/vm/c1/c1_LIRGenerator.cpp Tue May 15 10:10:23 2012 +0200 @@ -2960,7 +2960,9 @@ case vmIntrinsics::_dsqrt: // fall through case vmIntrinsics::_dtan: // fall through case vmIntrinsics::_dsin : // fall through - case vmIntrinsics::_dcos : do_MathIntrinsic(x); break; + case vmIntrinsics::_dcos : // fall through + case vmIntrinsics::_dexp : // fall through + case vmIntrinsics::_dpow : do_MathIntrinsic(x); break; case vmIntrinsics::_arraycopy: do_ArrayCopy(x); break; // java.nio.Buffer.checkIndex