[Libre-soc-bugs] [Bug 550] binutils support needed for svp64

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sat Jan 8 01:50:56 GMT 2022


https://bugs.libre-soc.org/show_bug.cgi?id=550

--- Comment #65 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to dmitry.selyutin from comment #64)
> (In reply to Luke Kenneth Casson Leighton from comment #63)
> > what were you considering placing in an autogenerated c file?
> 
> Mostly the array of entries (cf. struct svp64_entry per ppc-svp64-opc.h).\\

see comment #30, i was expecting it to be a single uint64_t per
instruction - no struct at all - just a series of #defined macros
which extract the relevant bits from the required locations in the
uint64_t.

this is exactly the same technique used elsewhere in binutils.

therefore there should be no struct entries per se - just a list
of #defined entries, followed by ORing them together, and a matching
set of macros to extract the required information.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list