Libre RISC-V Mailing list Archives (accessible via public-inbox)
 help / color / Atom feed
From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: Libre-RISCV General Development <libre-riscv-dev@lists.libre-riscv.org>
Subject: Re: [libre-riscv-dev] daily kan-ban update 14may2020
Date: Thu, 14 May 2020 19:55:41 +0100
Message-ID: <CAPweEDy2_bBVfTFGyYAMvaTDDdxEmWR8jKRZOn7Z469ztvoswQ@mail.gmail.com> (raw)
In-Reply-To: <CAC2bXD5EAEQm+siMSmEeNQYeFMfH=hwfmoS-kLta75dbLaDANg@mail.gmail.com>

On Thu, May 14, 2020 at 7:28 PM Jacob Lifshay <programmerjake@gmail.com> wrote:
> (some types in Rust aren't allowed to have certain values so rustc exploits
> that fact to pack other information into those bytes to save space.

interesting!  and scary :)

> I'm planning on attending the OpenPower virtual coffee call later today,
> and will try to make some progress on the load/store execution pipeline.

cool.  my routine for a few days now:
bashing my head against the LD/ST FSM.... i do a little bit each morning,
scream loudly somewhere after lunch, and do a bit of ALU in the afternoon :)

> I may also work on a mul/div function unit, since Luke asked me to do that,

(btw i did popcount, if i can't stand the LD/ST FSM i'll try parity)

> though I think integer mul should be part of the fp mul pipeline since they
> can share multipliers, and integer div should be part of the
> fdiv/idiv/irem/udiv/urem/fsqrt/frsqrt ALU pipeline that I wrote a lot of
> previously.

yes.  so the DIV pipeline would need to be set up to take minimum 64-bit wide
ints, even though FP64 only takes... 53(?) for the mantissa.  likewise for MUL.

although a couple of things:

* i'd contemplated that there be some "hidden Function Units) and some
  rewriting of Function.OP_xxxx into "micro-ops"... this is complex so is
  off the "priority list"
* FP is also off the "critical priority" list for the 180nm test chip
* so is Partitioning

this drastically cuts down on complexity.

so although we can - and should - use the integer DIV ALU code that you wrote,
(and need to convert it to partitioning at some point) the partitioned
multiplier is
off the list.

this makes for a much simpler target and increases the chance of success for
our first test chip.

l.

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

  reply index

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-14 10:54 Luke Kenneth Casson Leighton
2020-05-14 14:23 ` Michael Nolan
2020-05-14 14:43   ` Luke Kenneth Casson Leighton
2020-05-14 15:49     ` Tobias Platen
2020-05-14 16:44       ` Luke Kenneth Casson Leighton
2020-05-14 18:28 ` Jacob Lifshay
2020-05-14 18:55   ` Luke Kenneth Casson Leighton [this message]
2020-05-14 21:48     ` Cole Poirier
2020-05-14 22:00       ` Michael Nolan
2020-05-14 22:29         ` Cole Poirier
2020-05-14 22:52           ` Luke Kenneth Casson Leighton
2020-05-14 22:42       ` Luke Kenneth Casson Leighton
2020-05-14 23:16 ` Yehowshua
2020-05-15  8:28   ` Luke Kenneth Casson Leighton
2020-05-15  9:07     ` Tobias Platen
2020-05-15  9:09       ` Luke Kenneth Casson Leighton
2020-05-15  9:13         ` Luke Kenneth Casson Leighton
2020-05-15 10:55           ` Luke Kenneth Casson Leighton
2020-05-15 11:19             ` 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=CAPweEDy2_bBVfTFGyYAMvaTDDdxEmWR8jKRZOn7Z469ztvoswQ@mail.gmail.com \
    --to=lkcl@lkcl.net \
    --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