RFR: 8308994: C2: Re-implement experimental post loop vectorization [v2]

Pengfei Li pli at openjdk.org
Mon Jul 3 09:23:15 UTC 2023


On Fri, 23 Jun 2023 14:45:20 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> Pengfei Li has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Address part of comments from Emanuel
>
> src/hotspot/share/opto/vmaskloop.cpp line 549:
> 
>> 547:   //  1) The constructed SWPointer is invalid
>> 548:   //  2) Address is growing down (index scale * loop stride < 0)
>> 549:   //  3) Memory access scale is different from data size
> 
> I guess this could also be relaxed for strided accesses in the future?

Exactly! I have tried supporting some basic strided accesses. The code is not included in this patch as it's not that beneficial on some CPUs and requires more C2 refactorings.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14581#discussion_r1250541657


More information about the hotspot-compiler-dev mailing list