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

bugzilla-daemon at libre-riscv.org bugzilla-daemon at libre-riscv.org
Wed Nov 13 08:20:44 GMT 2019


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

--- Comment #4 from Jacob Lifshay <programmerjake at gmail.com> ---
I completed the Python bindings, though they're based off of the Rust API
rather than sfpy.

I figured that changing the preexisting Python code to use the new API wouldn't
take much work due to there not being a huge number of places where it's used.

I do need to write some documentation though.

smoke tests:
https://salsa.debian.org/Kazan-team/simple-soft-float/blob/master/tests/test_simple_soft_float.py

Do you think I can mark this bug and #145 as resolved or should I finish the
documentation first?

I still need to finish writing the NaN propagation code, but since RISC-V
always generates the canonical NaN rather than propagating NaNs (for operations
other than simple bit manipulation -- such as neg and abs), it doesn't affect
RISC-V.

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


More information about the libre-riscv-dev mailing list