RFR: 8277426: Optimize mask reduction operations on x86 [v2]

Sandhya Viswanathan sviswanathan at openjdk.java.net
Tue Nov 23 05:15:10 UTC 2021


On Fri, 19 Nov 2021 11:43:16 GMT, Mai Đặng Quân Anh <duke at openjdk.java.net> wrote:

>> Hi,
>> 
>> This patch improves the performance of mask reduction operations on AVX by matching the pattern `VectorMaskReduction (VectorStoreMask mask)` to eliminate the extra `VectorStoreMaskNode`. I have also done some refactoring to unify the logic of `toLong` with the other reduction operations.
>> 
>> The patch has been discussed partially in [panama-vector repository](https://github.com/openjdk/panama-vector/pull/158).
>> 
>> Thank you very much.
>
> Mai Đặng Quân Anh has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
> 
>  - Merge branch 'master' into vectorMaskReduction
>  - reduce some dependencies with spare register
>  - improve mask reduction logic on AVX

Marked as reviewed by sviswanathan (Reviewer).

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

PR: https://git.openjdk.java.net/jdk/pull/6447


More information about the hotspot-compiler-dev mailing list