[Libre-soc-bugs] [Bug 782] add galois field bitmanip instructions

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Thu Mar 10 02:59:34 GMT 2022


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

--- Comment #60 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Jacob Lifshay from comment #58)
> I added all the proposed ops to the wiki, I still need to add pseudo-code
> for several of them.

-# Galois Field 2^M
+# Instructions for Carry-less Operations aka. Polynomials with coefficients in
`GF(2)`

clmul(rh) were already added.

prime-polynomial ones there's not enough room unless moving ternary
to another major opcode (sigh), the ??madd ones take up vast amounts
of space.

another option, the entirety of gf* and cl* moves to its own major opcode.

(In reply to Jacob Lifshay from comment #59)

> The encodings still need to be decided, should I let you (lkcl) figure that
> out, or should I figure them out myself?

best let me do it (tomorrow) because i know the "rules" i applied to them
and have the working-set in my head

yes go for it on the pseudocode, do move the clmul(rh) ones to the
(existing) carryless section, do keep an eye on that, read the
whole page several times (now you know why i said "read it
several times", because it's not just about the "changes", you
have to know *everything* in the page, particularly if you want
to correctly design the encodings.  yes, it's a frickin lot of work!)

yes drop pseudocode in, if it's missing.

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


More information about the libre-soc-bugs mailing list