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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Fri Apr 8 10:12:40 BST 2022


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

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

> just occurred to me that:

> is equivalent to:
> > self.out.eq(both_ones < different) # unsigned compare

that's hilarious. i Grok that from the Power ISA ops,
from Paul and Anton's microwatt work.

> that said, imho we should leave it as the addition version

hm hm as a "<" it intuitively makes sense to me where carry
wasn't. and yosys (etc) may have an easier time. leave it
with you to decide, i'm happy either way.

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


More information about the libre-soc-bugs mailing list