I believe that popcnt() in the standard library is what you're looking for.
("Population count")

Matt


On Sat, Oct 15, 2016 at 9:27 AM, Morten Mikkelsen <mikkels...@gmail.com>
wrote:

> is there an ispc intrinsic similar to countbits() in hlsl?
>
> https://msdn.microsoft.com/en-us/library/windows/desktop/
> ff471355(v=vs.85).aspx
>
> --
> You received this message because you are subscribed to the Google Groups
> "Intel SPMD Program Compiler Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ispc-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Intel SPMD Program Compiler Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ispc-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to