Broadcasting of float values using vector API.

Remi Forax forax at univ-mlv.fr
Wed Sep 13 10:07:13 UTC 2023


> From: "Andrii Lomakin" <lomakin.andrey at gmail.com>
> To: "panama-dev" <panama-dev at openjdk.org>
> Sent: Wednesday, September 13, 2023 11:26:35 AM
> Subject: Broadcasting of float values using vector API.

> Hi everyone.

Hi ! 

> Maybe I missed something, but is my understanding correct that I can not
> broadcast float/double values but only long ones using Vector API ?
> Could you explain to me what the reason is for this ?

Yes, you miss something, you can broadcast double values 
https://download.java.net/java/early_access/jdk21/docs/api/jdk.incubator.vector/jdk/incubator/vector/DoubleVector.html#broadcast(jdk.incubator.vector.VectorSpecies,double) 

> --
> Best regards,
> Andrii Lomakin.

regards, 
Rémi 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/panama-dev/attachments/20230913/33458a30/attachment.htm>


More information about the panama-dev mailing list