[Libre-soc-bugs] [Bug 849] New: binutils: parse macros in SVP64 and refactor code
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Thu Jun 9 14:38:01 BST 2022
https://bugs.libre-soc.org/show_bug.cgi?id=849
Bug ID: 849
Summary: binutils: parse macros in SVP64 and refactor code
Product: Libre-SOC's first SoC
Version: unspecified
Hardware: PC
OS: Linux
Status: CONFIRMED
Severity: enhancement
Priority: ---
Component: Source Code
Assignee: ghostmansd at gmail.com
Reporter: ghostmansd at gmail.com
CC: libre-soc-bugs at lists.libre-soc.org
NLnet milestone: NLNet.2019.10.Formal
total budget (EUR) 1300
for completion of
task and all
subtasks:
budget (EUR) for 1300
this task,
excluding
subtasks' budget:
parent task for 550
budget allocation:
The table of ghostmansd={amount=1200}
payments (in EUR)
for this task;
TOML format:
The current binutils implementation acts in a way similar to pysvp64asm. This,
however, has a huge limitation: we parse operands on our own, and this somewhat
duplicates an existing ecosystem. Since we don't use the vanilla code, we also
lack support for some its features, like macro substitution.
Ideally we should refactor the ppc_assemble (originally md_assemble) in a way
so that it deals with SVP instructions directly. This would, in turn, inflict
some changes to lexer. The vanilla binutils code is not ready for even dealing
with SVP64 operands, since the way we treat the operand depend on operation
modes, and binutils don't even have way to pass this context (other than via
global variable, which is bad, since we deal on per-instruction basis).
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list