mir-core ~master (2021-10-18T16:44:50Z)
Dub
Repo
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
)
)
Meta
Source
See Implementation
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.