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

Luke Kenneth Casson Leighton lkcl at lkcl.net
Mon Jul 22 21:26:54 BST 2019


ok found it: the mantissa needed tweaking (separately) for 16/32/64
bit.  64-bit is an insane *15* stages long, of twin-combinatorial
blocks @ radix-2.  compare_lhs and the remainder are an INSANE 173
bits long.

l.



More information about the libre-riscv-dev mailing list