hg: jdk8u/jdk8u-dev/hotspot: 8063086: Math.pow yields different results upon repeated calls

kevin.walls at oracle.com kevin.walls at oracle.com
Fri May 27 13:30:16 UTC 2016


Changeset: 5aaa43d91c73
Author:    csahu
Date:      2016-05-24 17:49 +0530
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/hotspot/rev/5aaa43d91c73

8063086: Math.pow yields different results upon repeated calls
Summary: C2 treats x^2 as a special case and computes x * x while the interpreter and c1 don't have special case code for X^2.
Reviewed-by: kvn

! src/cpu/x86/vm/macroAssembler_x86.cpp
+ test/compiler/floatingpoint/TestPow2.java



More information about the jdk8u-all-changes mailing list