[Libre-soc-bugs] [Bug 784] Implement cl* instructions for carry-less operations

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Thu Apr 7 05:25:02 BST 2022


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

--- Comment #20 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Jacob Lifshay from comment #19)
> yes, except that the correct ops are XNOR and AND, not XOR and OR

Turns out the correct ops are XOR and AND...take the average of both our goofed
expressions and you get the right answer :)

https://git.libre-soc.org/?p=nmigen-gf.git;a=blob;f=src/nmigen_gf/hdl/cldivrem.py;h=4ce94ce7618b826ff0641c73bee187a4f2f1aa95;hb=fbb65119f40b7c1c10c05e7fa023972f924fa99e#l76

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


More information about the libre-soc-bugs mailing list