From: bugzilla-daemon@libre-soc.org
To: libre-riscv-dev@lists.libre-riscv.org
Subject: [libre-riscv-dev] [Bug 324] create POWER9 DIV pipeline
Date: Thu, 28 May 2020 06:51:35 +0000
Message-ID: <bug-324-13-xcd8CVxmO9@https.bugs.libre-soc.org/> (raw)
In-Reply-To: <bug-324-13@https.bugs.libre-soc.org/>
https://bugs.libre-soc.org/show_bug.cgi?id=324
Jacob Lifshay <programmerjake@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|CONFIRMED |IN_PROGRESS
--- Comment #6 from Jacob Lifshay <programmerjake@gmail.com> ---
I added a Rust model for the div and rem instructions as well as converted the
output format to JSON since that's waay easier to ingest than the custom output
format I had before. The model matches the native POWER9 instructions for all
the cases I tested.
I also added conditional compilation code that allows running just the model on
any computer rather than just on POWER9:
Run it with:
cargo run --no-default-features
Model functions:
https://salsa.debian.org/Kazan-team/power-instruction-analyzer/-/blob/master/src/instr_models.rs
This should make it easier to copy the behavior of POWER9 in the nmigen div
pipeline.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
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: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-19 12:03 [libre-riscv-dev] [Bug 324] New: " bugzilla-daemon
2020-05-19 12:04 ` [libre-riscv-dev] [Bug 324] " bugzilla-daemon
2020-05-19 12:16 ` bugzilla-daemon
2020-05-20 0:21 ` bugzilla-daemon
2020-05-22 21:03 ` bugzilla-daemon
2020-05-22 22:58 ` bugzilla-daemon
2020-05-26 3:55 ` bugzilla-daemon
2020-05-28 6:51 ` bugzilla-daemon [this message]
2020-05-28 10:03 ` bugzilla-daemon
2020-06-10 7:00 ` bugzilla-daemon
2020-06-10 11:00 ` bugzilla-daemon
2020-06-10 11:32 ` bugzilla-daemon
2020-06-10 18:29 ` Jacob Lifshay
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=bug-324-13-xcd8CVxmO9@https.bugs.libre-soc.org/ \
--to=bugzilla-daemon@libre-soc.org \
--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