[libre-riscv-dev] [Bug 146] create python bindings to reference FP implementation

bugzilla-daemon at libre-riscv.org bugzilla-daemon at libre-riscv.org
Sat Nov 2 00:29:33 GMT 2019


http://bugs.libre-riscv.org/show_bug.cgi?id=146

--- Comment #3 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Jacob Lifshay from comment #2)
> Working on implementing soft-float library that will use algebraics:
> https://salsa.debian.org/Kazan-team/simple-soft-float

Got add/sub to work! implementing mul/div/fma/sqrt/rsqrt/int-to-fp/fp-to-int
next.

FP is really complicated... more than 150 lines of code to round FP numbers in
all 5 supported rounding modes -- and that only handles finite numbers!

Building the simple-soft-float library to be able to handle all implemented
forms of FP without compile-time configuration (unlike softfloat). Additionally
handles generating the correct FP exceptions for when traps are handled rather
than ignored (needed for non-RISC-V FP).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-riscv-dev mailing list