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

Jie Fu jiefu at openjdk.java.net
Thu Nov 25 06:37:08 UTC 2021


On Wed, 24 Nov 2021 14:05:34 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 incrementally with one additional commit since the last revision:
> 
>   add check bmi

Thanks for your update.

All my tests passed with the latest version.
So LGTM.

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

Marked as reviewed by jiefu (Reviewer).

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


More information about the hotspot-compiler-dev mailing list