Special integer operations
IGotD-
nise at nise.com
Mon Oct 28 22:20:08 UTC 2019
I'm trying to find if D has any built in special integer
operations like bit reverse, population count, count leading
zeroes, count trailing zeroes. Many ISAs have dedicated
instructions for these kinds of operations. I haven't found any
of these in the documentation, either implemented as fallback D
code or working directly on the ISA instructions.
Do these exist or do you have to create these yourselves or
resort to compiler intrinsics?
More information about the Digitalmars-d-learn
mailing list