mir-core — Libmir Archive
← Libmir Archive
Dlang.org
ctpop
mir
bitop
The 'ctpop' family of intrinsics counts the number of bits set in a value.
@
fastmath
T
ctpop
(
T
)
(
in
T
src
)
if
(
__traits(
isUnsigned
,
T
)
)
mir
bitop
functions
bt
bta
btc
btr
bts
ctlz
ctlzp
ctpop
cttz
cttzp
nLeadingBitsToCount
nTrailingBitsToCount
variables
bitElemShift
bitShiftMask
The 'ctpop' family of intrinsics counts the number of bits set in a value.