Integrated: 8277426: Optimize mask reduction operations on x86

Mai Đặng Quân Anh duke at openjdk.java.net
Mon Nov 29 23:26:11 UTC 2021


On Thu, 18 Nov 2021 08:06:48 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.

This pull request has now been integrated.

Changeset: 560f9c93
Author:    MeryKitty <anhmdq99 at gmail.com>
Committer: Jie Fu <jiefu at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/560f9c937233d548ef8db8cd9044fdc6c4cefe41
Stats:     222 lines in 5 files changed: 142 ins; 29 del; 51 mod

8277426: Optimize mask reduction operations on x86

Reviewed-by: sviswanathan, jiefu

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

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


More information about the hotspot-compiler-dev mailing list