Integrated: 8284960: Integration of JEP 426: Vector API (Fourth Incubator)
Jatin Bhateja
jbhateja at openjdk.java.net
Tue May 31 16:04:58 UTC 2022
On Wed, 27 Apr 2022 11:03:48 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:
> Hi All,
>
> Patch adds the planned support for new vector operations and APIs targeted for [JEP 426: Vector API (Fourth Incubator).](https://bugs.openjdk.java.net/browse/JDK-8280173)
>
> Following is the brief summary of changes:-
>
> 1) Extends the scope of existing lanewise API for following new vector operations.
> - VectorOperations.BIT_COUNT: counts the number of one-bits
> - VectorOperations.LEADING_ZEROS_COUNT: counts the number of leading zero bits
> - VectorOperations.TRAILING_ZEROS_COUNT: counts the number of trailing zero bits
> - VectorOperations.REVERSE: reversing the order of bits
> - VectorOperations.REVERSE_BYTES: reversing the order of bytes
> - compress and expand bits: Semantics are based on Hacker's Delight section 7-4 Compress, or Generalized Extract.
>
> 2) Adds following new APIs to perform cross lane vector compress and expansion operations under the influence of a mask.
> - Vector.compress
> - Vector.expand
> - VectorMask.compress
>
> 3) Adds predicated and non-predicated versions of following new APIs to load and store the contents of vector from foreign MemorySegments.
> - Vector.fromMemorySegment
> - Vector.intoMemorySegment
>
> 4) C2 Compiler IR enhancements and optimized X86 and AARCH64 backend support for each newly added operation.
>
>
> Patch has been regressed over AARCH64 and X86 targets different AVX levels.
>
> Kindly review and share your feedback.
>
> Best Regards,
> Jatin
This pull request has now been integrated.
Changeset: 6f6486e9
Author: Jatin Bhateja <jbhateja at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/6f6486e97743eadfb20b4175e1b4b2b05b59a17a
Stats: 38021 lines in 228 files changed: 16652 ins; 16924 del; 4445 mod
8284960: Integration of JEP 426: Vector API (Fourth Incubator)
Co-authored-by: Jatin Bhateja <jbhateja at openjdk.org>
Co-authored-by: Paul Sandoz <psandoz at openjdk.org>
Co-authored-by: Sandhya Viswanathan <sviswanathan at openjdk.org>
Co-authored-by: Smita Kamath <svkamath at openjdk.org>
Co-authored-by: Joshua Zhu <jzhu at openjdk.org>
Co-authored-by: Xiaohong Gong <xgong at openjdk.org>
Co-authored-by: John R Rose <jrose at openjdk.org>
Co-authored-by: Eric Liu <eliu at openjdk.org>
Co-authored-by: Ningsheng Jian <njian at openjdk.org>
Reviewed-by: ngasson, vlivanov, mcimadamore, jlahoda, kvn
-------------
PR: https://git.openjdk.java.net/jdk/pull/8425
More information about the hotspot-compiler-dev
mailing list