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 15:43:33 +0100
Message-ID: <CAPweEDwiv05_Zw57=YVdxYNYHB=DyKdLayfvRxoNM3+qygrjTQ@mail.gmail.com> (raw)
In-Reply-To: <3a840394-8aa6-a597-093b-07af336a68d0@gmail.com>
On Thu, May 14, 2020 at 3:23 PM Michael Nolan <mtnolan2640@gmail.com> wrote:
> Yesterday I worked on connecting the rotator from microwatt up to the
> shift/rotate unit, fixing bugs in the rotator, and testing it.
i'm amazed it worked, and also how elegant the microwatt rotator code is.
> Today I might try working on comparisons, but I'm not sure whether they should
> be a part of the alu or a separate FU
i went through the list this morning, and left some TODOs.
cmpb is different from cmp: cmp is definitely based on add (actually,
subtract - but see the notes from execute1.vhdl):
https://github.com/antonblanchard/microwatt/blob/master/execute1.vhdl#L540
cmp is definitely arithmetic, however cmpb feels like it is a
logical-thing (and is in fixedlogical)
https://github.com/antonblanchard/microwatt/blob/master/execute1.vhdl#L657
https://github.com/antonblanchard/microwatt/blob/master/ppc_fx_insns.vhdl#L735
https://github.com/antonblanchard/microwatt/blob/master/helpers.vhdl#L117
btw, you'll like this: because we are doing a parallel processor,
different Function Units *can* actually cover multiple tasks :) let's
not go into that right now, however if we convert power_enum Function
into an unary field (1<<0, 1<<1, 1<<2) then we can, in the CSV files,
set multiple bits.
a good example would be AND and OR and XOR: those are prime candidates
to put into *both* the Logical *and* Arithmetic pipelines. recorded
it for now:
https://bugs.libre-soc.org/show_bug.cgi?id=310
l.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
next prev parent 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 [this message]
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
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='CAPweEDwiv05_Zw57=YVdxYNYHB=DyKdLayfvRxoNM3+qygrjTQ@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