RFR: 8322735: C2: minor improvements of bubble sort used in SuperWord::packset_sort
Emanuel Peter
epeter at openjdk.org
Thu Jan 4 12:38:22 UTC 2024
On Mon, 25 Dec 2023 15:34:55 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
@D-D-H can you explain what this improves?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17190#issuecomment-1877028706
More information about the hotspot-compiler-dev
mailing list