[vectorIntrinsics+fp16] RFR: 8299373: Extend vector conversion APIs for Halffloat type. [v2]
Swati Sharma
duke at openjdk.org
Thu Jan 5 11:34:24 UTC 2023
On Wed, 4 Jan 2023 08:56:55 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:
>> Swati Sharma has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8299373: Intrinsification issues resolved for Halffloat.
>
> test/jdk/jdk/incubator/vector/AbstractVectorConversionTest.java line 381:
>
>> 379: Number v = (Number) Array.get(src, srcPos + i);
>> 380: if (srcSpecies.elementType() == Halffloat.class) {
>> 381: v = (Number) Halffloat.valueOf(v.shortValue()).floatValue();
>
> Any specific reason for not directly calling Float.float16ToFloat(short) here ?
Done.
-------------
PR: https://git.openjdk.org/panama-vector/pull/208
More information about the panama-dev
mailing list