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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sat Mar 5 11:53:53 GMT 2022


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

--- Comment #26 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Jacob Lifshay from comment #3)

> def decode(v, XLEN):
>     """returns the decoded coefficient list in LSB to MSB order,
>         len(retval) == degree + 1"""

so just to be clear: v is the modulus? and the degree is implicitly
calculated from it?

if so one instruction can set the modulus and degree into a (new) SPR
and that in turn frees up a boatload of operand space, certainly
enough to make a 4-operand gfmuladd and also gftwinmuladdsub
and basically have exactly the same operand types and number
of operands as standard arithmetic.

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


More information about the libre-soc-bugs mailing list