[jdk21u-dev] RFR: 8328938: C2 SuperWord: disable vectorization for large stride and scale
Aleksey Shipilev
shade at openjdk.org
Mon Apr 15 16:45:03 UTC 2024
On Fri, 12 Apr 2024 08:04:17 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> Unclean backport to prevent accidents in C2 loop optimizations. The patch is unclean, because JDK 21u misses major SuperWord refactorings. I applied the hunk by hand in the similar place, and also used `slp->iv_stride()` in one place to get this thing to work.
>
> @eme64, if you want to take a look at this?
>
> Additional testing:
> - [x] New regression test fails without the patch, passes with it
> - [x] Linux x86_64 server fastdebug, `all`
> - [x] Linux x86_64 server fastdebug, 100K Fuzzer tests
> - [ ] Linux x86_64 server fastdebug, Maven CTW
Actually, more debugging shows that `stride() == nullptr` here:
https://github.com/openjdk/jdk21u-dev/blob/f5c0d7824fac3ceb45ad405ee242b6f5909dd25e/src/hotspot/share/opto/loopnode.cpp#L2459
-------------
PR Comment: https://git.openjdk.org/jdk21u-dev/pull/495#issuecomment-2057332564
More information about the jdk-updates-dev
mailing list