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

Luke Kenneth Casson Leighton lkcl at lkcl.net
Mon Jul 22 20:44:18 BST 2019


okaaay, FP16, due to rounding on the number of combinatorial stages,
was only doing 2x6 bits (12) instead of 2x8 (16).  i've only run about
300 random 16-bit input values so far however they're all correct.

FP32 on the other hand is failing, presumably again due to the
mantissa being offset or the pipeline being too short.  will
investigate tomorrow.

l.



More information about the libre-riscv-dev mailing list