DU Results -

Source patches

du6bitcount.hpp

7c7
< //#include <popcntintrin.h>
---
> #include <popcntintrin.h>
373d372
< #ifdef __GNUC__	
389,391c388
< 	__attribute__((target("popcnt"))) 
< #endif
< 	std::size_t count_ones() const
---
> 	__attribute__((target("popcnt"))) std::size_t count_ones() const

Flex error reports

C++ error reports

Linker error reports

Run output diffs

empty.in

size	and/random/AVX	or/random/AVX	not/random/AVX	zero/random/AVX	bitcount/zero/AVX	bitcount/random/AVX	bitcount/one/AVX
16361	0.00580001	0.0051	0.0036	0.0032	0.0111	0.0111	0.0111
65521	0.00500003	0.00500003	0.00330002	0.00260001	0.0102001	0.0102001	0.0102001
262161	0.0120002	0.0119002	0.00990013	0.00280004	0.0172002	0.0170002	0.0169002
1048721	0.0205009	0.0209009	0.0131006	0.00740033	0.0251011	0.0248011	0.0248011
4194961	0.0223076	0.0223076	0.0166057	0.0103035	0.02941	0.0295101	0.0295101
16779921	0.0223356	0.0224358	0.0167267	0.0104166	0.0297474	0.0297474	0.0296473