RFR: JDK-8308994: C2: Re-implement experimental post loop vectorization
Emanuel Peter
epeter at openjdk.org
Fri Jun 23 11:05:05 UTC 2023
On Fri, 23 Jun 2023 10:56:40 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
>> src/hotspot/share/opto/superword.cpp line 3881:
>>
>>> 3879: }
>>> 3880:
>>> 3881: // Following is used outside superword optimization
>>
>> Could we move the whole SWPointer outside of SuperWord, into some "autovectorization.hpp" maybe? Because the SW of SWPointer means SuperWord, maybe a renaming could be good too?
>
> If you are going to do that, I'd suggest doing this refactoring in a separate RFE. It would help in general with any future extension to auto-vectorization.
Can we untangle it completely from SuperWord? it seems you have made it optional, so yes. And maybe we can also make the trace flags like `_slp->is_trace_alignment()` independent? It would be nice to also be able to trace this for non SuperWord-contexts like post-loop masked vectoriaztion, right?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14581#discussion_r1239682803
More information about the hotspot-dev
mailing list