RFR: 8316594: C2 SuperWord: wrong result with hand unrolled loops

Emanuel Peter epeter at openjdk.org
Mon Oct 2 08:39:00 UTC 2023


On Fri, 22 Sep 2023 17:59:04 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Please read description in https://github.com/openjdk/jdk/pull/15864.
>> 
>> Tier1-6 + stress-testing (Running)
>> Performance testing (Running)
>
> You still need to add description to this PR what you are changing.

@vnkozlov I suggest we add those tests when we actually implement the detection of separate arrays. At that point, we can also create appropriate IR rules.
Besides, I think the tests would be testing something somewhat different. The bug here happens because we have two method parameters which both reference to the same array, but we do not know that at compile time.
Your suggested tests would exercise all sorts of combinations of different arrays on different parameters, if I understand correctly?

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

PR Comment: https://git.openjdk.org/jdk/pull/15866#issuecomment-1742611499


More information about the hotspot-compiler-dev mailing list