berkeley-softfloat-3
berkeley-softfloat-3 copied to clipboard
Sync with spike version of softfloat
Addresses https://github.com/ucb-bar/berkeley-softfloat-3/issues/24 It adds the following modifications of softfloat version 3d from Spike:
- Additional support for fp16 and bf16 conversions
- Support for fmax/fmin, reciprocal, rsqrt
As far as I can tell all of these were added for the RISC-V vector extension. Any modifications related to the build system in Spike were left out.
As I'm just a user and by no means a softfloat expert, I would appreciate some advice on these things before merging:
- I'm assuming the changes in
specialization.hwere specific to RISC-V. What would be the quickest way of optaining the special values for ARM and 8086? Then I'll adjust them from the RISC-V vaues which I currently just copied. - Were the unused paramater/variable warnings specific to the build system used in Spike (I couldn't reproduce them here)?