RFR: 8323582: C2 SuperWord AlignVector: misaligned vector memory access with unaligned native memory

Vladimir Kozlov kvn at openjdk.org
Tue Feb 18 19:26:11 UTC 2025


On Tue, 18 Feb 2025 17:20:23 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

> Do we really need it for this changes? Can we simply generate un-vectorized loop?

To clarify. This question was about second phase after we deoptimize and recompile when hit predicate check failure. I am fine with predicate change.

> And I really could not measure any difference in the performance benchmarking. I doubt it is even noticable on compile-time.

Right. If a method has a vectorizable loop, it is most likely has big generated code and not inlined already. So adding 4th loop may not affected significantly.

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

PR Comment: https://git.openjdk.org/jdk/pull/22016#issuecomment-2666506254
PR Comment: https://git.openjdk.org/jdk/pull/22016#issuecomment-2666525354


More information about the hotspot-dev mailing list