[lworld+fp16] RFR: 8338061: Add support for FP16 unary and ternary operations

Jatin Bhateja jbhateja at openjdk.org
Tue Aug 20 12:00:56 UTC 2024


On Tue, 20 Aug 2024 10:22:57 GMT, Bhavana Kilambi <bkilambi at openjdk.org> wrote:

>> Yes,  I do agree we would have an explosion of IR nodes if we have to add support for INT8, FP8, Bfloat16 etc..
>> For now, I guess I will just create specialized IR until we have decided on how to get them integrated into a single IR using a secondary imm opcode (or if others in the community have any other idea).
>
> I have the conversion ops and isFinite/Infinite/NaN intrinsics still left to complete.

I am in process of porting Float16 extension to VectorAPI into lworld+fp16, that will consolidate Float16 effort on lworld+fp16 branch and we can leverage the unified backend implementation. With VectorAPI we will also need to support Reductions for Float16 vectors :-)

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

PR Review Comment: https://git.openjdk.org/valhalla/pull/1211#discussion_r1723186677


More information about the valhalla-dev mailing list