Foreign + Vectors - benchmarks for copying and swapping
Radosław Smogura
mail at smogura.eu
Tue Jul 20 10:49:00 UTC 2021
Hi,
I hope you spent time well.
Yep. I hope this small change can help.
BR,
Rado
________________________________
From: Paul Sandoz <paul.sandoz at oracle.com>
Sent: Monday, July 19, 2021 23:31
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
(Was on vocation) Looks like you made progress.
Paul.
> On Jul 8, 2021, at 2:42 PM, Radosław Smogura <mail at smogura.eu> wrote:
>
> 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