[PATCH] 8217561 : X86: Add floating-point Math.min/max intrinsics, approval request

Andrew Haley aph at redhat.com
Thu Feb 28 09:54:49 UTC 2019


On 2/27/19 8:21 PM, Vladimir Kozlov wrote:

> So I have question for aarch64 developers. Are aarch64 fmin/fmax
> instructions are always faster than code generated by default?

Be aware that AArch64 is an abstract architecture, so it cannot be
said to have performance properties.

In real hardware, however, the answer is no. Nothing like. I have seen
the fmin/fmax instructions cause a 3x slowdown on a reduction loop.

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


More information about the hotspot-compiler-dev mailing list