RFR: 8338021: Support new unsigned and saturating vector operators in VectorAPI [v7]

Jatin Bhateja jbhateja at openjdk.org
Fri Sep 6 06:43:32 UTC 2024


On Thu, 5 Sep 2024 14:33:56 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> Jatin Bhateja has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Some cleanups.
>
> src/jdk.incubator.vector/share/classes/jdk/incubator/vector/VectorMathUtils.java line 78:
> 
>> 76:      * @since 24
>> 77:      */
>> 78:     public static long addSaturating(long a, long b) {
> 
> Are these public methods any Java dev could use? If so: do we have tests for them?

Made them package private. These routines are exercised by newly added jtreg tests.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20507#discussion_r1746584232


More information about the hotspot-compiler-dev mailing list