RFR: 8338021: Support new unsigned and saturating vector operators in VectorAPI [v31]
Paul Sandoz
psandoz at openjdk.org
Thu Oct 24 15:04:14 UTC 2024
On Thu, 24 Oct 2024 13:31:00 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:
>> Also: why did we not add these `Long.minUnsigned` etc? I guess that was already discussed?
>> Because we can easily also use this with the auto-vectorizer or more generally. Saturating and unsigned ops are generally useful I think...
>
> PR is specially targeting explicit vectorization flow, we plan to address scalar intrinsification and auto-vectorization later, once type system has exposure to unsigned types.
We are uncertain about their locations in `java.lang` at the moment. For now it's better to place them under incubation and then revisit later when we are more certain.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20507#discussion_r1815180240
More information about the core-libs-dev
mailing list