[libre-riscv-dev] [Bug 145] reference FP emulation using algebraic numbers

bugzilla-daemon at libre-riscv.org bugzilla-daemon at libre-riscv.org
Sun Nov 3 07:10:40 GMT 2019


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

--- Comment #4 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #3)
> (In reply to Jacob Lifshay from comment #2)
> > Implemented all of add, sub, mul, div, and mul_add.
> > All tests pass!
> 
> Good grief :) is it looking like sfpy,
> worth quickly seeing if it runs as a
> replacement, or are you comparing it
> *to* sfpy in the unit tests?

I haven't started building the python bindings yet, so it won't currently work
with python.
I'm testing it against softfloat.
I put all the tests in the source code by using bash scripts to generate the
tests, since I want it to be testable without needing to build and properly
configure softfloat.
I am probably going to change the tests out for something else (maybe array
literals or data files) since they're currently 120kloc of function calls,
which takes quite a while to compile (5-10min).

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


More information about the libre-riscv-dev mailing list