[libre-riscv-dev] div/mod algorithm written in python
Luke Kenneth Casson Leighton
lkcl at lkcl.net
Mon Jul 1 13:35:07 BST 2019
On Mon, Jul 1, 2019 at 1:14 PM Jacob Lifshay <programmerjake at gmail.com> wrote:
> On Mon, Jul 1, 2019, 05:11 Luke Kenneth Casson Leighton <lkcl at lkcl.net>
> wrote:
>
> > superb. ok, hmm, i need to get some FP single-argument pipeline
> > infrastructure in place: alternatively you could use the 2-arg version
> > for now [and set one of the args to zero].
> >
> was planning on ignoring second arg.
good call, can drop in single-arg versions later.
btw are the fp-isqrt and fp-sqrt algorithms sufficiently similar that
they can be a runtime parameter? that paper you found actually
computes *both*: http://bugs.libre-riscv.org/show_bug.cgi?id=44#c1
and what about fpdiv?
l.
More information about the libre-riscv-dev
mailing list