--- old/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.serviceprovider/src/org/graalvm/compiler/serviceprovider/GraalServices.java 2019-05-14 01:06:13.416466019 +0200 +++ new/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.serviceprovider/src/org/graalvm/compiler/serviceprovider/GraalServices.java 2019-05-14 01:06:13.016463108 +0200 @@ -501,4 +501,22 @@ } return jmx.getInputArguments(); } + + /** + * Returns the fused multiply add of the three arguments; that is, returns the exact product of + * the first two arguments summed with the third argument and then rounded once to the nearest + * {@code float}. + */ + public static float fma(float a, float b, float c) { + return Math.fma(a, b, c); + } + + /** + * Returns the fused multiply add of the three arguments; that is, returns the exact product of + * the first two arguments summed with the third argument and then rounded once to the nearest + * {@code double}. + */ + public static double fma(double a, double b, double c) { + return Math.fma(a, b, c); + } }