[libre-riscv-dev] div/mod algorithm written in python
Jacob Lifshay
programmerjake at gmail.com
Mon Jul 1 13:39:46 BST 2019
frsqrt, fsqrt, fdiv and idiv/irem are sufficiently similar that they can
share the same HW and be switched dynamically, hence why I wanted to make a
pipeline that can handle all those operations.
On Mon, Jul 1, 2019, 05:35 Luke Kenneth Casson Leighton <lkcl at lkcl.net>
wrote:
> 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.
>
> _______________________________________________
> libre-riscv-dev mailing list
> libre-riscv-dev at lists.libre-riscv.org
> http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
>
More information about the libre-riscv-dev
mailing list