Attention is currently required from: laforge, neels.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/35005?usp=email )
Change subject: core: add parity calculation functions for uint{32,16,8}_t ......................................................................
Patch Set 1:
(1 comment)
Commit Message:
https://gerrit.osmocom.org/c/libosmocore/+/35005/comment/9c1bc7ee_f8139623 PS1, Line 8:
I guess it's for the softuart code that Vadim took over from my branch and brings it mainline soon.
Yes, Harald's guess is correct. This was actually my initial plan, since I do need a parity checking logic for the soft-UART. But then I found a simpler solution and no longer need to use these functions, but I guess somebody might still find these functions useful?
P.S. I just discovered that both GCC and Clang offer `__builtin_parity`.