The many ways of converting FP32 to FP16
corsix.org
corsix.org
"Sadly"? That's subjective, I guess: I personally feel that the less "softfloat" code there is in use around, the better. All this twisted bitshifting/juggling with conditional propagation is pretty well suited for baking into sillicon.
There exist some niches where this doesn’t hold, but that’s why we have software fallbacks.
Not enough memory to even store the text of the FORTRAN code.
Integer math was required :/
I gave up, and that software now requires a CPU with F16C. Fortunately it’s not that bad anymore, the ISA extension was introduced in AMD Bulldozer (2011) and Intel Ivy Bridge (2012). Most people are using computer newer than 10 years old, I think in 2023 that’s a reasonable requirement.