Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8170153

PPC64/s390x/aarch64: Poor StrictMath performance due to non-optimized compilation

XMLWordPrintable

    • b148
    • ppc, aarch64, s390x
    • linux

        Currently fdlibm optimization is disabled for PPC64/s390x/aarch64, as a consequence StrictMath methods like, but not limited to, sin(), cos(), and tan() perform poor.

        Switching on the O3 optimization on gcc can damage the precision of those methods, nonetheless it's possible to avoid that side effect and yet get the huge benefits from the -O3 optimization on PPC64/s390 if -ffp-contract=off is passed in addition to the -O3 optimization flag.

              gromero Gustavo Romero
              gromero Gustavo Romero
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: