From: bugzilla-daemon@libre-soc.org
To: libre-riscv-dev@lists.libre-riscv.org
Subject: [libre-riscv-dev] [Bug 339] create POWER9 ROTATE (SHIFTROT) pipeline
Date: Mon, 01 Jun 2020 18:09:01 +0000
Message-ID: <bug-339-13-lPz0BqgXCa@https.bugs.libre-soc.org/> (raw)
In-Reply-To: <bug-339-13@https.bugs.libre-soc.org/>
https://bugs.libre-soc.org/show_bug.cgi?id=339
Luke Kenneth Casson Leighton <lkcl@lkcl.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|lkcl@lkcl.net |mtnolan2640@gmail.com
--- Comment #4 from Luke Kenneth Casson Leighton <lkcl@lkcl.net> ---
michael, i need your help, here: sraw "works" in shift_rot/test_pipe_caller.py
only because carry isn't being checked in the test. i'm not sure if it's
being set in the simulator?
* sraw RA,RS,RB (Rc=0)
* sraw. RA,RS,RB (Rc=1)
n <- (RB)[59:63]
r <- ROTL32((RS)[32:63], 64-n)
if (RB)[58] = 0 then
m <- MASK(n+32, 63)
else m <- [0]*64
s <- (RS)[32]
RA <- r&m | ([s]*64)& ¬m
carry <- s & ((r&¬m)[32:63] != 0)
CA <- carry
CA32 <- carry
Special Registers Altered:
CA CA32
CR0 (if Rc=1)
* srawi RA,RS,SH (Rc=0)
* srawi. RA,RS,SH (Rc=1)
n <- SH
r <- ROTL32((RS)[32:63], 64-n)
m <- MASK(n+32, 63)
s <- (RS)[32]
RA <- r&m | ([s]*64)& ¬m
carry <- s & ((r&¬m)[32:63] != 0)
CA <- carry
CA32 <- carry
Special Registers Altered:
CA CA32
CR0 (if Rc=1)
--
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: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-22 17:27 [libre-riscv-dev] [Bug 339] New: create POWER9 ROTATE pipeline bugzilla-daemon
2020-05-22 17:27 ` [libre-riscv-dev] [Bug 339] " bugzilla-daemon
2020-05-22 17:41 ` bugzilla-daemon
2020-05-22 19:07 ` bugzilla-daemon
2020-06-01 12:40 ` [libre-riscv-dev] [Bug 339] create POWER9 ROTATE (SHIFTROT) pipeline bugzilla-daemon
2020-06-01 18:09 ` bugzilla-daemon [this message]
2020-06-01 19:31 ` bugzilla-daemon
2020-06-01 20:13 ` bugzilla-daemon
2020-06-01 20:17 ` bugzilla-daemon
2020-06-07 14:32 ` bugzilla-daemon
2020-06-08 18:37 ` bugzilla-daemon
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-339-13-lPz0BqgXCa@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