Foreign + Vectors - benchmarks for copying and swapping

Radosław Smogura mail at smogura.eu
Thu Jul 8 21:42:20 UTC 2021


Hi,

I submitted it, but looks like without JIRA issue probably noone will pick it up.

https://github.com/openjdk/jdk/pull/4658

Well summer time...

BR,
Rado
________________________________
From: Paul Sandoz <paul.sandoz at oracle.com>
Sent: Friday, July 2, 2021 01:19
To: Radosław Smogura <mail at smogura.eu>
Cc: Maurizio Cimadamore <maurizio.cimadamore at oracle.com>; Vladimir Ivanov <vladimir.x.ivanov at oracle.com>; panama-dev at openjdk.java.net <panama-dev at openjdk.java.net>
Subject: Re: Foreign + Vectors - benchmarks for copying and swapping



> On Jul 1, 2021, at 2:25 PM, Radosław Smogura <mail at smogura.eu> wrote:
>
> Paul,
>
> I did few other checks, and unrolling does not work for short arrays, too.
>

Ok, thanks for checking.


> As the maximum stride size is 8, unroll will work for AVX 256, but int arrays with AVX 512 may not get unrolled (unfortuantely I don't have way to test it).
>
> I think I'll send this change to hotspot team as PR, and let's see what they tell about stride size.
>

Yes, please do.

Paul.


More information about the panama-dev mailing list