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

Emanuel Peter epeter at openjdk.org
Fri Mar 3 16:05:42 UTC 2023


On Fri, 3 Mar 2023 15:53:34 GMT, Roland Westrelin <roland at openjdk.org> wrote:

> Are you suggesting, testByteByte2 should have an IR rule that checks it doesn't vectorize?

No, I am not suggesting that. I would not add any IR rule.
I had overseen that you have already commented the IR rule out, that is why I proceeded to explain why it fails 😅 

But what I would suggest: Add value verification to the tests.
Because we may make mistakes with the vectorization and create wrong results.

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

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


More information about the hotspot-compiler-dev mailing list