8210425: [x86] sharedRuntimeTrig/sharedRuntimeTrans compiled without optimization

Schmidt, Lutz lutz.schmidt at sap.com
Wed Sep 12 07:16:17 UTC 2018

I totally agree with Andrew's statement. FP calculations should be evaluated as the programmer wrote them down. All fiddling around with sequence or rounding is evil. You lose reproducibility of results. 

On 08.09.18, 11:26, "hotspot-dev on behalf of Andrew Haley" <hotspot-dev-bounces at openjdk.java.net on behalf of aph at redhat.com> wrote:

    On 09/06/2018 03:32 PM, Severin Gehwolf wrote:
    > Right. I should note that ppc64, s390x and aarch64 ports don't have
    > this optimization turned off as those overrides are in a x86 specific
    > block. It appears it hasn't caused issues for these ports so far.
    That's just dumb luck. We really should turn off the merging of FP
    operations on all platforms.
    Andrew Haley
    Java Platform Lead Engineer
    Red Hat UK Ltd. <https://www.redhat.com>
    EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671

More information about the hotspot-dev mailing list