[libre-riscv-dev] div/mod algorithm written in python

Jacob Lifshay programmerjake at gmail.com
Wed Jul 3 10:04:06 BST 2019

I finished writing the FixedUDivRemSqrtRSqrt class which is the
combined div/rem/sqrt/rsqrt class pre-nmigen conversion. It passes all
tests. I'd highly recommend using pytest-xdist with pypy3, since it
reduces the test time for just test_algorithm.py from 40s to 5.6s
since it uses multiple processes to increase parallelism (it can use
multiple computers on multiple different OSes over a network) and uses
a JIT.

I'll start the conversion to nmigen tomorrow, assuming nothing comes up.


More information about the libre-riscv-dev mailing list