-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 02/09/2015 16:03, John Baldwin wrote:
> Author: jhb Date: Mon Feb  9 21:03:23 2015 New Revision: 278474 
> URL: https://svnweb.freebsd.org/changeset/base/278474
> 
> Log: Use __builtin_popcnt() to implement a BIT_COUNT() operation
> for bitsets and use this to implement CPU_COUNT() to count the
> number of CPUs in a cpuset.
...

This is wrong.  __builtin_popcountl() must be used here.
__builtin_popcount() is for *int*.

Jung-uk Kim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJU2SUTAAoJEHyflib82/FGb3oH/1va9V2zWD+fxz9jzvZzT8ka
yqt9dOVpmpztpJ0XtiwCVp42hEtwvjRWefV4Qn7XntNezhF5l4N0BCLN+XmsHhdD
eoDCtQKuop+sQM64gqVgQSYBU8oho05mMmvMhIe3zf818X84pr1T6WEHbc+bgXh5
RGOPNRyau7nFldIjWfdwkyUFpiztHkxL94odFU6P6bDiCrfpngyiuOgi7vHf0QTX
Ml+9eR1AbCOx69Ntccj35++TqCWY2HKwxdlWXn7D/AXIBwWguzUS3wKOg8Oyd42k
3lPpHU4WYYERtHIY/P1LsPrQV/eB/rEoLTL5RccvEyHDl025QdSAXKwH8ij8Tvk=
=HAEQ
-----END PGP SIGNATURE-----
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to