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

Intrinsify fused mac operations on x86

    Details

    • Subcomponent:
    • Resolved In Build:
      b140

      Description

      Once the fused mac operation has library support (JDK-4851642), it is a natural candidate to be intrinsified since many processors now include fused mac floating-point instructions, especially after the 2008 update to the IEEE 754 floating-point standard included fused mac.

        Issue Links

          Activity

          Hide
          vdeshpande Vivek Deshpande added a comment -
          Show
          vdeshpande Vivek Deshpande added a comment - x86 Intrinsic support for fma operations: hotspot changes: http://cr.openjdk.java.net/~vdeshpande/FMA/8154122/hotspot/webrev.00/ jdk changes: http://cr.openjdk.java.net/~vdeshpande/FMA/8154122/jdk/webrev.00/
          Show
          vdeshpande Vivek Deshpande added a comment - Updated webrev: hotspot: http://cr.openjdk.java.net/~vdeshpande/FMA/8154122/hotspot/webrev.02/ jdk: http://cr.openjdk.java.net/~vdeshpande/FMA/8154122/jdk/webrev.01/
          Hide
          kvn Vladimir Kozlov added a comment - - edited
          FC Extension Request:
          Justification: significant speedup of Java's math libraries the fma (fused multiply-accumulate) functions.
          Risk: Low. Under the flag UseFMA.
          Proposed Integration Date: September 16, 2016 (immediately after approval)
          Remaining work: Already reviewed (see webrev link) and tested (no failures).
          Show
          kvn Vladimir Kozlov added a comment - - edited FC Extension Request: Justification: significant speedup of Java's math libraries the fma (fused multiply-accumulate) functions. Risk: Low. Under the flag UseFMA. Proposed Integration Date: September 16, 2016 (immediately after approval) Remaining work: Already reviewed (see webrev link) and tested (no failures).
          Hide
          kvn Vladimir Kozlov added a comment -
          Final Hotspot webrev used in testing:
          http://cr.openjdk.java.net/~kvn/8154122/webrev.03/
          Show
          kvn Vladimir Kozlov added a comment - Final Hotspot webrev used in testing: http://cr.openjdk.java.net/~kvn/8154122/webrev.03/
          Hide
          kvn Vladimir Kozlov added a comment -
          The attached matrix multiplication micro-benchmark MatMult.java ran with -XX:+UseFMA and -XX:-UseFMA and showed significant speed up of 2500x with FMA instructions.
          Show
          kvn Vladimir Kozlov added a comment - The attached matrix multiplication micro-benchmark MatMult.java ran with -XX:+UseFMA and -XX:-UseFMA and showed significant speed up of 2500x with FMA instructions.
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/hs-comp/jdk/rev/cb35da7fa7a9
          User: kvn
          Date: 2016-09-14 19:53:35 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/hs-comp/jdk/rev/cb35da7fa7a9 User: kvn Date: 2016-09-14 19:53:35 +0000
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/hs-comp/hotspot/rev/ca56c5db7157
          User: kvn
          Date: 2016-09-14 19:53:37 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/hs-comp/hotspot/rev/ca56c5db7157 User: kvn Date: 2016-09-14 19:53:37 +0000
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/ca56c5db7157
          User: lana
          Date: 2016-10-12 19:59:24 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/ca56c5db7157 User: lana Date: 2016-10-12 19:59:24 +0000
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/cb35da7fa7a9
          User: lana
          Date: 2016-10-12 19:59:33 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/cb35da7fa7a9 User: lana Date: 2016-10-12 19:59:33 +0000

            People

            • Assignee:
              vdeshpande Vivek Deshpande
              Reporter:
              darcy Joe Darcy
            • Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: