[Libre-soc-bugs] [Bug 1093] New: Fix "GPR-or-zero" in binutils and openpower-isa
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Mon May 29 17:21:39 BST 2023
https://bugs.libre-soc.org/show_bug.cgi?id=1093
Bug ID: 1093
Summary: Fix "GPR-or-zero" in binutils and openpower-isa
Product: Libre-SOC's first SoC
Version: unspecified
Hardware: PC
OS: Windows
Status: CONFIRMED
Severity: enhancement
Priority: ---
Component: Source Code
Assignee: lkcl at lkcl.net
Reporter: ghostmansd at gmail.com
CC: libre-soc-bugs at lists.libre-soc.org
NLnet milestone: ---
Currently our support for RA_OR_ZERO and RT_OR_ZERO leaves much to be desired.
These, when 0 is supplied as an operand, should yield 0, not r0, as usual RA
and RT operands do.
1. openpower-isa disassembly doesn't diagnose these correctly at all, and
treats them as usual GPRs.
2. binutils lack RT0 operand, the only instruction using RT0 is setvl, and
support for this operand has been missing.
More details in IRC:
https://libre-soc.org/irclog/%23libre-soc.2023-05-29.log.html#t2023-05-29T16:37:17.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list