[libre-riscv-dev] popcount and parity

Luke Kenneth Casson Leighton lkcl at lkcl.net
Wed May 13 23:20:16 BST 2020

jacob would you like to do popcount and parity, i remember you
mentioned a "best work" algorithm somewhere (referenced a wikipedia
page)? it resonated with me that it might be nice to add a general
class (of some kind) to nmutil for use in doing things like... ooo....

here's where the two functions are in microwatt, feel free to use this
as a guide:

and here's where they need to go in the logical pipeline:


crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68

More information about the libre-riscv-dev mailing list