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

Luke Kenneth Casson Leighton lkcl at lkcl.net
Thu Jul 25 16:43:24 BST 2019

On Thu, Jul 25, 2019 at 4:34 PM Jacob Lifshay <programmerjake at gmail.com> wrote:
> running all fpdiv/test/test_fp*.py tests, 30k random cases

 i usually do that in test_fpdiv_pipe.py by putting a for-loop around
the 3 fns :)

 really should sort this all out properly.

>  and 1000
> (assuming I modified the right argument) for test_fpdiv_pipe_16.py and
> test_fpdiv_pipe_32.py


> the bad import is in test_div64.py, which I am ignoring since it appears to
> test the old serial divider.

 yes, ignore that one.  i think test_div32.py at least works.

More information about the libre-riscv-dev mailing list