hg: jdk8u/hs-dev/hotspot: 8074869: C2 code generator can replace -0.0f with +0.0f on Linux

roland.westrelin at oracle.com roland.westrelin at oracle.com
Fri Mar 20 13:19:21 UTC 2015


Changeset: aefa2e84b424
Author:    zmajo
Date:      2015-03-19 19:53 +0100
URL:       http://hg.openjdk.java.net/jdk8u/hs-dev/hotspot/rev/aefa2e84b424

8074869: C2 code generator can replace -0.0f with +0.0f on Linux
Summary: Instead of 'fpclass', use cast float->int and double->long to check if value is +0.0f and +0.0d, respectively.
Reviewed-by: kvn, simonis, dlong

! src/cpu/ppc/vm/ppc.ad
! src/cpu/sparc/vm/sparc.ad
! src/share/vm/utilities/globalDefinitions_gcc.hpp
! src/share/vm/utilities/globalDefinitions_sparcWorks.hpp
! src/share/vm/utilities/globalDefinitions_xlc.hpp
+ test/compiler/loopopts/ConstFPVectorization.java



More information about the jdk8u-hs-changes mailing list