RFR: 8286941: Add mask IR for partial vector operations for ARM SVE [v3]

Xiaohong Gong xgong at openjdk.org
Mon Jun 20 01:14:08 UTC 2022


On Thu, 16 Jun 2022 08:40:18 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

>> Xiaohong Gong has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains four commits:
>> 
>>  - Address review comments, revert changes for gatherL/scatterL rules
>>  - Merge branch 'jdk:master' into JDK-8286941
>>  - Revert transformation from MaskAll to VectorMaskGen, address review comments
>>  - 8286941: Add mask IR for partial vector operations for ARM SVE
>
> src/hotspot/share/opto/vectornode.cpp line 864:
> 
>> 862:   // Generate a vector mask for vector operation whose vector length is lower than the
>> 863:   // hardware supported max vector length.
>> 864:   if (vt->length_in_bytes() < MaxVectorSize) {
> 
> For completeness, length comparison check can be done against MIN(SuperWordMaxVectorSize, MaxVectorSize).
> Even though SuperWordMaxVector differs from MaxVectorSize only for certain X86 targets and this control flow is only executed for AARCH64 SVE targets currently.

Yes, I agree with you to add the SuperWordMaxVectorSize reference. Thanks! I will change it.

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

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


More information about the hotspot-compiler-dev mailing list