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

Mai Đặng Quân Anh duke at openjdk.java.net
Wed Nov 24 14:05:34 UTC 2021


> 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

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/6447/files
  - new: https://git.openjdk.java.net/jdk/pull/6447/files/1dae02d4..ad675ed9

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6447&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6447&range=01-02

  Stats: 123 lines in 3 files changed: 46 ins; 55 del; 22 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6447.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6447/head:pull/6447

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


More information about the hotspot-compiler-dev mailing list