diff options
author | Josh Blum <josh@joshknows.com> | 2012-11-14 14:27:26 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2012-11-14 14:27:26 -0800 |
commit | d809902ad340a2b45101b2fb03334ac50681526d (patch) | |
tree | 926e90d990351f2efbe08913aa3af01eb025f545 /gr-trellis/src/python | |
parent | 5c71424d3a6828ace96bf4a12040d68a4458168d (diff) |
volk: fix popcnt in volk_rank_archs
The naive ranking system uses a popcnt to see which impl matches the most archs.
GCC gives us a builtin popcnt. MSVC also has __popcnt, but it seems to be
segfaulting, probably because the rank archs.c is built arch indepdent.
So, a manual popcnt has been implemented for all non gcc builin cases.
This is superior because 1) it doesnt segfault, 2) it covers all compilers.
Also note that the implementation does not have to be fast,
this is a one-time lookup process while the kernel table is loaded.
Diffstat (limited to 'gr-trellis/src/python')
0 files changed, 0 insertions, 0 deletions