RFR: 8317976: Optimize SIMD sort for AMD Zen 4 [v2]

Paul Sandoz psandoz at openjdk.org
Mon Mar 17 15:50:52 UTC 2025


On Mon, 17 Mar 2025 15:28:12 GMT, Rohit Arul Raj <rraj at openjdk.org> wrote:

>> This change enables optimized SIMD sort for AMD Zen 4 (AVX2) & Zen 5 (AVX512).
>> 
>> JTREG Tests: Completed Tier1 & Tier2 tests on Zen4 & Zen5 - No Regressions.
>> 
>> Attaching ArraySort performance data for Zen4 & Zen5.
>> [Zen4-ArraySort-Data.txt](https://github.com/user-attachments/files/19245831/Zen4-ArraySort-Data.txt)
>> [Zen5-ArraySort-Data.txt](https://github.com/user-attachments/files/19245833/Zen5-ArraySort-Data.txt)
>
> Rohit Arul Raj has updated the pull request incrementally with one additional commit since the last revision:
> 
>   create a separate method to check for cpu's supporting avx512 version of simd sort

Looks good, thank you for updating. I am not a proper HotSpot reviewer so i bumped up the number of required reviewers, and a HotSpot developer needs to quickly review it.

-------------

Marked as reviewed by psandoz (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/24053#pullrequestreview-2691098623


More information about the hotspot-compiler-dev mailing list