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

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

    Details

    • Subcomponent:
    • Resolved In Build:
      b148
    • CPU:
      ppc, aarch64, s390x
    • OS:
      linux

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: