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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sat Dec 25 23:49:36 GMT 2021


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

--- Comment #55 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to dmitry.selyutin from comment #54)
> Extended gas (and likely other binutils, since it's a common code) with
> -mlibresoc switch, which, amongst other stuff, sets PPC_OPCODE_SVP64 flag.
> I'm not sure what'd be the right latest POWER version, so I took "-mfuture"
> and added one more flag there.

binutils-dev, best place to ask.

> Also pushed some rather minor changes to sv_binutils script so that it
> groups fields into a dataclass. I'll add a couple of methods there so that
> it's capable of generating the C code.

i did the math in an earlier comment, a uint64_t is sufficient to hold all
the bits.

> For now, the main question is, what
> to do with codes like `-----01101`? If we consider `struct powerpc_opcode`
> as a "quite-close-but-not-exactly-the-same" thing, do these hyphens
> correspond to `mask` and `flags` members?

"-" means simply "don't care, ignore".  masked out, yes.

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


More information about the libre-soc-bugs mailing list