RFR: 8252848: Optimize small primitive arrayCopy operations through partial inlining using AVX-512 masked instructions
Andrew Haley
aph at redhat.com
Mon Sep 14 08:40:14 UTC 2020
On 13/09/2020 20:12, Jatin Bhateja wrote:
> 1) Partial in-lining technique avoids call overhead penalty for
> sub-word type small array copy operations with size less than 32
> bytes. 2) At runtime, a conditional check based on copy length
> either calls an array-copy stub or executes an optimized instruction
> sequence using AVX-512 masked instructions emitted at the call site.
This may not be a good idea. See my reply at
https://mail.openjdk.java.net/pipermail/hotspot-dev/2020-September/043114.html
https://mail.openjdk.java.net/pipermail/hotspot-dev/2020-September/043155.html
--
Andrew Haley (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
More information about the hotspot-compiler-dev
mailing list