RFR: 8370691: Add new Float16Vector type and enable intrinsification of vector operations supported by auto-vectorizer [v11]

Fei Yang fyang at openjdk.org
Wed Jan 14 11:14:06 UTC 2026


On Wed, 14 Jan 2026 10:58:44 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

>> src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Float16Vector.java line 1653:
>> 
>>> 1651:      *
>>> 1652:      * @param e the input scalar
>>> 1653:      * @return the result of multiplying this vector by the given scalar
>> 
>> The code comment mentions "multiplying", which doesn't seem correct to me. Are we doing any multiplication for min/max?
>
> This is the problem in JDK-mainline code also, we should address it separately.

Sure. I just realized that it is there for Float / Double varients as well in mainline.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28002#discussion_r2690008963


More information about the serviceability-dev mailing list