RFR: 8323582: C2 SuperWord AlignVector: misaligned vector memory access with unaligned native memory [v2]
Emanuel Peter
epeter at openjdk.org
Wed Feb 19 13:08:56 UTC 2025
On Wed, 19 Feb 2025 12:12:27 GMT, Roland Westrelin <roland at openjdk.org> wrote:
> > Right. I suppose code size might be slightly affected. But I only multi-version if we are already going to pre-main-post the loop. And that means that the loop is already copied 3x, and doing 4x is not that noticable I would suspect.
>
> Wouldn't usual optimizations be applied to the slow loop as well (pre/main/post, unrolling)?
That is what I'm avoiding by `stalling` the slow-loop ;)
I only `un-stall` the slow-loop if a we actually add a check to the multiversion-if, and at that point we do care about the slow-loop.
Does that make sense?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22016#issuecomment-2668601537
More information about the hotspot-dev
mailing list