[Libre-soc-bugs] [Bug 1154] Support basic PowerPC generated assembly
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Fri Sep 8 22:59:48 BST 2023
https://bugs.libre-soc.org/show_bug.cgi?id=1154
--- Comment #1 from Dmitry Selyutin <ghostmansd at gmail.com> ---
A whole SVP64 assembly depends on a critical task (I think to be raised yet,
but I'll check whether we already have it already tomorrow): we need to
generate the specs and fields, otherwise syncing them would be a nightmare.
See task #4 here:
http://lists.libre-soc.org/pipermail/libre-soc-dev/2023-September/005633.html
At this point, we can support a trivial PPC assembly. This will need:
1. Fast instruction lookup by name (therefore another table to be generated).
2. Additional operands logic (likely the validation mechanisms).
3. Overall assembly API. We want it to be robust and flexible, but at the same
time easy to integrate into other projects (binutils as the first candidate).
Whilst disassembly API is simple ("just take this integer as an instruction and
get stuff from there"), the assembler API will likely be a multistage (e.g. on
a per-operand basis); otherwise no chance of making a friendship with binutils
macro subsystem which successfully kicked me in the back several times.
Ironically, the items above appear in the order of the complexity and amount of
efforts. :-)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list