RFR: 8300258: C2: vectorization fails on simple ByteBuffer loop [v3]

Roland Westrelin roland at openjdk.org
Fri Mar 3 15:56:20 UTC 2023


On Fri, 3 Mar 2023 15:32:28 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

> I guess that `testByteByte2` gets filtered out by the `memory_alignment` check.

Are you suggesting, `testByteByte2` should have an IR rule that checks it doesn't vectorize?
It wouldn't be illegal to vectorize while the others are either illegal to vectorize (they wouldn't execute correctly) or they can't be proven to be legal to vectorize with static information.

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

PR: https://git.openjdk.org/jdk/pull/12440


More information about the hotspot-compiler-dev mailing list