DU Results -

Source patches

du6bitcount.hpp

244,250c244
< 			ptr = reinterpret_cast<T*>(
< #ifdef __GNUC__	
< 			aligned_alloc
< #else
< 			_aligned_malloc
< #endif
< 			(sz, bytes));
---
> 			ptr = reinterpret_cast<T*>(aligned_alloc(sz, bytes));

Flex error reports

C++ error reports

du6bitcount.cpp

In file included from ../../../studenti/20162/Benovic_Marek_37494826/du6bitcount.cpp:1:0:
../../../studenti/20162/Benovic_Marek_37494826/du6bitcount.hpp: In static member function ‘static __m256i Body_avx::rshift(int)’:
../../../studenti/20162/Benovic_Marek_37494826/du6bitcount.hpp:548:42: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
   static inline __m256i rshift(int bits) {
                                          ^

du6main.cpp

In file included from du6main.cpp:5:0:
../../../studenti/20162/Benovic_Marek_37494826/du6bitcount.hpp: In static member function ‘static __m256i Body_avx::rshift(int)’:
../../../studenti/20162/Benovic_Marek_37494826/du6bitcount.hpp:548:42: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
   static inline __m256i rshift(int bits) {
                                          ^

Linker error reports

Run output diffs

empty.in

size	and/random/SSE	or/random/SSE	not/random/SSE	zero/random/SSE	bitcount/zero/SSE	bitcount/random/SSE	bitcount/one/SSE
16361	0.00940001	0.00840001	0.00900001	0.00570001	0.023	0.0192	0.019
65521	0.00610003	0.00620003	0.00690004	0.00370002	0.0177001	0.0178001	0.0178001
262161	0.00950012	0.00950012	0.0080001	0.00340004	0.0211003	0.0211003	0.0211003
1048721	0.0130006	0.0131006	0.00880039	0.00480021	0.0247011	0.0245011	0.0245011
4194961	0.014705	0.0152052	0.0115039	0.00660225	0.0272093	0.0272093	0.0272093
16779921	0.0149238	0.0157251	0.0112179	0.0067107	0.0280447	0.0279446	0.0279446