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: Tue, 26 May 2020 03:55:20 +0000
Message-ID: <bug-324-13-oH1nrbvB3A@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
--- Comment #5 from Jacob Lifshay <programmerjake@gmail.com> ---
I wrote a simple Rust program that runs different Power instructions (just div*
and mod* for now) and put the results here:
https://salsa.debian.org/Kazan-team/power-instruction-analyzer/-/blob/master/output-for-initial-2-ga7250d2.txt
Source here:
https://salsa.debian.org/Kazan-team/power-instruction-analyzer
result_prev is assigned to the result register before executing the tested
instruction since sometimes processors just skip writing to a register in
exceptional cases
From what I can tell, for all error cases for div and mod instructions, POWER9
just writes 0 to the result register.
For the instructions with just 32-bit results, from what I can tell from a
relatively small number of test cases, it zero extends for all signed/unsigned
div instructions, zero extends for unsigned mod instructions, and sign extends
for signed mod instructions.
--
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 [this message]
2020-05-28 6:51 ` bugzilla-daemon
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-oH1nrbvB3A@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