HomePhabricator

[avalanche] Use black magic for popcount.

Description

[avalanche] Use black magic for popcount.

Summary:
Or compiler intrinsic if these are supported.

The black magic algorithm is from 'Owen Anderson <resistor@mac.com>', as far as I know.

Test Plan:

make check

Reviewers: #bitcoin_abc, jasonbcox, Fabien, Mengerian

Reviewed By: #bitcoin_abc, jasonbcox, Fabien, Mengerian

Subscribers: Mengerian, jasonbcox, teamcity, schancel

Differential Revision: https://reviews.bitcoinabc.org/D2148

Details

Provenance
deadalnixAuthored on Nov 29 2018, 15:27
vermorelPushed on Dec 3 2018, 21:15
Reviewer
Restricted Project
Differential Revision
D2148: [avalanche] Use black magic for popcount.
Parents
rSTAGING9e90803c6e02: Rename wallet functional test files to match bitcoin core
Branches
Unknown
Tags
Unknown