RFR: 8339677: [vectorapi] YYYXXXVector::withLaneHelper and laneHelper should use Double::doubleToRawLongBits/Float::floatToRawIntBits

Quan Anh Mai qamai at openjdk.org
Sat Sep 7 05:18:07 UTC 2024


On Fri, 6 Sep 2024 19:52:28 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

>> Hi,
>> 
>> This patch fixes an issue where we mistakenly use `Double::doubleToLongBits` in `DoubleXXXVector::withLaneHelper` and `DoubleXXXVector::laneHelper`. We should use the raw bit version instead.
>> 
>> Please kindly review, thanks very much.
>
> Looks good!

@PaulSandoz Thanks for your reviews, I think this patch is trivial so I will merge it.

@jaikiran All the `YYYXXXVector.java` files are generated from `X-VectorBits.java.template`, so if I change some of them all the others will get their copyright year updated as well.

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

PR Comment: https://git.openjdk.org/jdk/pull/20895#issuecomment-2335047445


More information about the core-libs-dev mailing list