RFR: 8277168: AArch64: Enable arraycopy partial inlining with SVE
Pengfei Li
pli at openjdk.java.net
Tue Nov 23 08:12:07 UTC 2021
On Fri, 19 Nov 2021 08:07:13 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:
>> The x86 failure is caused by a recent commit (see [JDK-8277324](https://bugs.openjdk.java.net/browse/JDK-8277324)) and unrelated to this PR.
>
> Hi @pfustc , common type system changes looks good to me.
Thank you for looking at my PR. This C2 technique was originally developed by @jatin-bhateja from Intel to optimize small-sized memory copy with x86 AVX-512 masked vector instructions. Now I propose to enable it on AArch64 with SVE. Yes, it has benefit only if the copy size is less than the size of a vector. It's 512 bits on x86, but on AArch64 SVE the max copy size it can benefit depends on the hardware's implementation of the scalable vector register (from 128 bits to 2048 bits).
@theRealAph , do you approve this PR? or any specific feedback or suggestion?
-------------
PR: https://git.openjdk.java.net/jdk/pull/6444
More information about the hotspot-compiler-dev
mailing list