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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun Mar 6 10:30:53 GMT 2022


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

--- Comment #28 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
https://git.libre-soc.org/?p=libreriscv.git;a=blob;f=openpower/sv/gf2.py;hb=HEAD

i dropped the 2 functions gf2MUL and gf2divmod into a file to play
with and they work well.  gf_invert however did not, it needs investigating
after i made a couple of changes.


with some though gf2MUL can be seen to be standard long multiplication
in binary (XOR instead of the normal add) with standard modulo as well,
even that is analogous.

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


More information about the libre-soc-bugs mailing list