RFR: 8210425: [x86] sharedRuntimeTrig/sharedRuntimeTrans compiled without optimization

Severin Gehwolf sgehwolf at redhat.com
Wed Sep 5 18:36:09 UTC 2018


Hi,

On Linux x86 (32 and 64 bit) sharedRuntime{Trans,Trig}.ccp files get
compiled with -O0. It appears to be for the same (historical?) reason
as for fdlibm files in core-libs. JDK-8210416 is an attempt to make
this consistent on all Linux arches (as s390x/ppc64/aarch64 already use
that) for fdlibm. This patch does the same for the hotspot copies.
Compile it with OPT and -ffp-contract=off instead of no optimization at
all. Thoughts?

webrev: http://cr.openjdk.java.net/~sgehwolf/webrevs/JDK-8210425/webrev.01/
Bug:    https://bugs.openjdk.java.net/browse/JDK-8210425

Testing: - make run-test-tier1 (no new failures).
         - Currently running through submit.
         - Verified objects get compiled with -O3 -ffp-contract=off in
           build logs.

Thanks,
Severin




More information about the build-dev mailing list