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

Optimize Math.copySign API for Intel e-core targets

XMLWordPrintable

    • x86_64
    • generic

      Math.copySign is only intrinsified on x86 targets supporting the AVX512 feature.
      E-core Xeons support only the AVX2 feature set and still compile java implementation which is composed of logical operations.

      Since there is a 3-cycle penalty for copying incoming float/double values to GPRs before being operated upon by logical operation there is an opportunity to optimize this using an efficient instruction sequence.

            jbhateja Jatin Bhateja
            jbhateja Jatin Bhateja
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: