RFR: 8322735: C2: minor improvements of bubble sort used in SuperWord::packset_sort [v2]
Emanuel Peter
epeter at openjdk.org
Mon Jan 8 08:49:23 UTC 2024
On Fri, 5 Jan 2024 08:57:33 GMT, Denghui Dong <ddong at openjdk.org> wrote:
>> A minor improvement could be made for bubble sort in SuperWord::packset_sort to reduce the comparison count in bad cases.
>>
>> See https://en.wikipedia.org/wiki/Bubble_sort
>
> Denghui Dong has updated the pull request incrementally with one additional commit since the last revision:
>
> update
@D-D-H testing passed. Looks good. Thanks for the change!
-------------
Marked as reviewed by epeter (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/17190#pullrequestreview-1808357678
More information about the hotspot-compiler-dev
mailing list