Integrated: 8329331: Intrinsify Unsafe::setMemory

2024-04-21 Thread Scott Gibbons
On Fri, 29 Mar 2024 22:32:06 GMT, Scott Gibbons wrote: > This code makes an intrinsic stub for `Unsafe::setMemory` for x86_64. See > [this PR](https://github.com/openjdk/jdk/pull/16760) for discussion around > this change. > > Overall, making this an intrinsic improves overall performance of

Re: RFR: 8329331: Intrinsify Unsafe::setMemory [v26]

2024-04-21 Thread Jatin Bhateja
On Sat, 20 Apr 2024 22:31:48 GMT, Scott Gibbons wrote: >> This code makes an intrinsic stub for `Unsafe::setMemory` for x86_64. See >> [this PR](https://github.com/openjdk/jdk/pull/16760) for discussion around >> this change. >> >> Overall, making this an intrinsic improves overall performanc

Integrated: 8318650: Optimized subword gather for x86 targets.

2024-04-21 Thread Jatin Bhateja
On Wed, 25 Oct 2023 04:34:59 GMT, Jatin Bhateja wrote: > Hi All, > > This patch optimizes sub-word gather operation for x86 targets with AVX2 and > AVX512 features. > > Following is the summary of changes:- > > 1) Intrinsify sub-word gather using hybrid algorithm which initially > partially

Re: RFR: 8329331: Intrinsify Unsafe::setMemory [v26]

2024-04-21 Thread Scott Gibbons
On Sat, 20 Apr 2024 22:31:48 GMT, Scott Gibbons wrote: >> This code makes an intrinsic stub for `Unsafe::setMemory` for x86_64. See >> [this PR](https://github.com/openjdk/jdk/pull/16760) for discussion around >> this change. >> >> Overall, making this an intrinsic improves overall performanc

Re: RFR: 8329331: Intrinsify Unsafe::setMemory [v26]

2024-04-21 Thread Vladimir Kozlov
On Sat, 20 Apr 2024 22:31:48 GMT, Scott Gibbons wrote: >> This code makes an intrinsic stub for `Unsafe::setMemory` for x86_64. See >> [this PR](https://github.com/openjdk/jdk/pull/16760) for discussion around >> this change. >> >> Overall, making this an intrinsic improves overall performanc

Re: EnumeratedStream

2024-04-21 Thread ІП-24 Олександр Ротань
To clear things up, Issues are related to handling using type erasure, not class generating approach. вс, 21 апр. 2024 г. в 18:45, ІП-24 Олександр Ротань < rotan.olexa...@gmail.com>: > To clear thing up, Issues are related to handling using type erasure, not > class generating approach. > > вс, 2

Re: RFR: 8266431: Dual-Pivot Quicksort improvements (Radix sort) [v11]

2024-04-21 Thread Vladimir Yaroslavskiy
On Sun, 21 Apr 2024 04:37:45 GMT, Srinivas Vamsi Parasa wrote: >> Hello Vamsi (@vamsi-parasa), >> >> Could you please run the new benchmarking? >> To save time and don't patch JDK several times, I've created >> JavaBenchmarkHarness >> class which is under package java.util and compares several

Re: EnumeratedStream

2024-04-21 Thread ІП-24 Олександр Ротань
I am not really familiar with goals and milestones of Valhalla project, but what I meant by simplification is that there would not be any more need to convert to promotove streams explicitly as Stream would be a thing. If that's what Valhalla is working on, then this would be just great. Performanc

Re: RFR: 8318650: Optimized subword gather for x86 targets. [v18]

2024-04-21 Thread Jatin Bhateja
> Hi All, > > This patch optimizes sub-word gather operation for x86 targets with AVX2 and > AVX512 features. > > Following is the summary of changes:- > > 1) Intrinsify sub-word gather using hybrid algorithm which initially > partially unrolls scalar loop to accumulates values from gather ind

Re: EnumeratedStream

2024-04-21 Thread -
On Sun, Apr 21, 2024 at 5:49 AM ІП-24 Олександр Ротань < rotan.olexa...@gmail.com> wrote: > I have heard your proposal. Your approach indeed for sure has its > advantages. > > One thing I don't like referring to is Valhalla. It's not even a > preview and no one really knows when it will be, relyin

Re: EnumeratedStream

2024-04-21 Thread ІП-24 Олександр Ротань
I have heard your proposal. Your approach indeed for sure has its advantages. One thing I don't like referring to is Valhalla. It's not even a preview and no one really knows when it will be, relying on it when designing API now would be strange to say the least. One possible thing that could dra