cvfpu
cvfpu copied to clipboard
how complicated would it be add FP8 E3M4 and E2M5 support to this IP?
Hi, Currently the only FP8 support is E5M2. How complicated would it be to add E3M4 and E2M5 support? Can I make a contribution to some organization to get these added? What would it take :-) ?
Afaik, making this FPU extendable was one of its primary purposes. You should just need to add your formats to the package here. You can designate the amount of exponent and mantissa bits per format. Note that I am not the author though :-) Let me know whether this answers your question and we can close the issue.
What about e5m2_fnuz? Is there a way to disable infinities and use a special NaN encoding?