Libre RISC-V Mailing list Archives (accessible via public-inbox)
 help / color / Atom feed
From: Jacob Lifshay <programmerjake@gmail.com>
To: Libre-RISCV General Development <libre-riscv-dev@lists.libre-riscv.org>
Subject: Re: [libre-riscv-dev] daily kan-ban update 19may2020
Date: Tue, 19 May 2020 10:13:35 -0700
Message-ID: <CAC2bXD7fXnNeGWcGTiVzMnxSDcKSZuoteY1gAKHm-RGYGh+Bsw@mail.gmail.com> (raw)
In-Reply-To: <CAPweEDwRS5yHWa=qnyZhCe5tux6Q=9KiXvxg5M_x21=GZ5tnaw@mail.gmail.com>

On Tue, May 19, 2020, 05:00 Luke Kenneth Casson Leighton <lkcl@lkcl.net>
wrote:

> except, i can't complete the diagram because i am blocked waiting for Jacob
> to do the DIV and MUL pipelines, which we have found highlights clearly
> what regs are needed in ways that a cursory examination does not reveal.


I'll be working on the mul and div pipelines today, I'm planning on adding
mul-add and mul-sub support to the partitionable multiplier since that's
much easier than writing a whole new multiplier. Will then add the FU
interface logic needed to drive it, perhaps in simplified form (1 mul per
clock, no packing smaller muls together) since that would allow me to get
back to the load/store unit faster. If there's spare time later, it can be
made fancier to allow issuing multiple smaller ops per clock and/or have
fpmul/fpmuladd added.

Will modify the fpdiv pipe to add idiv/udiv/irem/urem as well as div by
zero and int overflow detection, will then use that in the DIV FUs, can add
support for fdiv/fsqrt/frsqrt if there's spare time later.

I picked both those routes since that seems like the path of least
resistance, and because it makes adding fp later that much easier.

Jacob
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev

  parent reply index

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-19 11:59 Luke Kenneth Casson Leighton
2020-05-19 12:36 ` Luke Kenneth Casson Leighton
2020-05-19 16:38   ` Cesar Strauss
2020-05-19 17:13 ` Jacob Lifshay [this message]
2020-05-19 17:34   ` Luke Kenneth Casson Leighton
2020-05-19 17:47 ` Michael Nolan
2020-05-19 17:56   ` Luke Kenneth Casson Leighton
2020-05-19 18:01     ` [libre-riscv-dev] priority encoder replacement Jacob Lifshay
2020-05-19 18:46       ` Luke Kenneth Casson Leighton
2020-05-19 20:17     ` [libre-riscv-dev] daily kan-ban update 19may2020 Cole Poirier
2020-05-20  6:39 ` Tobias Platen
2020-05-20 11:28   ` Luke Kenneth Casson Leighton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAC2bXD7fXnNeGWcGTiVzMnxSDcKSZuoteY1gAKHm-RGYGh+Bsw@mail.gmail.com \
    --to=programmerjake@gmail.com \
    --cc=libre-riscv-dev@lists.libre-riscv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Libre RISC-V Mailing list Archives (accessible via public-inbox)

Archives are clonable: git clone --mirror https://inbox.libre-soc.org/libre-riscv-dev

Example config snippet for mirrors


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git