From: bugzilla-daemon@libre-soc.org
To: libre-riscv-dev@lists.libre-riscv.org
Subject: [libre-riscv-dev] [Bug 360] New: move RS to 1st or 2nd operand in CSV files
Date: Mon, 01 Jun 2020 12:39:35 +0000
Message-ID: <bug-360-13@https.bugs.libre-soc.org/> (raw)
https://bugs.libre-soc.org/show_bug.cgi?id=360
Bug ID: 360
Summary: move RS to 1st or 2nd operand in CSV files
Product: Libre-SOC's first SoC
Version: unspecified
Hardware: PC
OS: Mac OS
Status: CONFIRMED
Severity: enhancement
Priority: ---
Component: Source Code
Assignee: lkcl@lkcl.net
Reporter: lkcl@lkcl.net
CC: libre-riscv-dev@lists.libre-riscv.org
NLnet milestone: ---
we are doing this - a lot - i.e. in nearly every single Function Unit:
# RA (or RC)
reg3_ok = yield dec2.e.read_reg3.ok
reg1_ok = yield dec2.e.read_reg1.ok
assert reg3_ok != reg1_ok
if reg3_ok:
data1 = yield dec2.e.read_reg3.data
res['a'] = sim.gpr(data1).value
elif reg1_ok:
data1 = yield dec2.e.read_reg1.data
res['a'] = sim.gpr(data1).value
if instead the CSV files *specified* that RS was in position (read_reg1)
*already*, this would no longer be necessary.
the same thing applies to ShiftRot - except this time RS and RB should
be actually *swapped over*.
this is quite a big change as it affects every single Function Unit,
unit test, and formal proof.
--
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 reply index
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-01 12:39 bugzilla-daemon [this message]
2020-06-01 21:41 ` [libre-riscv-dev] [Bug 360] " bugzilla-daemon
2020-06-07 15:08 ` 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-360-13@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