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

du6bitcount.cpp

In file included from ../../../studenti/20162/Behun_Marek_24578510/du6bitcount.cpp:1:0:
../../../studenti/20162/Behun_Marek_24578510/du6bitcount.hpp: In static member function ‘static body_avx::simd_carrier_t body_avx::popcount8(body_avx::simd_carrier_t)’:
../../../studenti/20162/Behun_Marek_24578510/du6bitcount.hpp:517:59: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
  static inline simd_carrier_t popcount8(simd_carrier_t n) {
                                                           ^
In file included from /usr/local/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/immintrin.h:41:0,
                 from ../../../studenti/20162/Behun_Marek_24578510/du6bitcount.hpp:6,
                 from ../../../studenti/20162/Behun_Marek_24578510/du6bitcount.cpp:1:
/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/avxintrin.h: In function ‘void __static_initialization_and_destruction_0(int, int)’:
/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/avxintrin.h:1357:1: error: inlining failed in call to always_inline ‘__m256i _mm256_setr_epi8(char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char)’: target specific option mismatch
 _mm256_setr_epi8  (char __q31, char __q30, char __q29, char __q28,
 ^~~~~~~~~~~~~~~~
../../../studenti/20162/Behun_Marek_24578510/du6bitcount.cpp:7:76: note: called from here
 const body_avx::simd_carrier_t body_avx::popcount_table_ = _mm256_setr_epi8(
                                                            ~~~~~~~~~~~~~~~~^
  0, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 4,
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                            
  0, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 4
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
 );
 ~                                                                           
In file included from /usr/local/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/immintrin.h:41:0,
                 from ../../../studenti/20162/Behun_Marek_24578510/du6bitcount.hpp:6,
                 from ../../../studenti/20162/Behun_Marek_24578510/du6bitcount.cpp:1:
/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/avxintrin.h:1307:1: error: inlining failed in call to always_inline ‘__m256i _mm256_set1_epi8(char)’: target specific option mismatch
 _mm256_set1_epi8 (char __A)
 ^~~~~~~~~~~~~~~~
../../../studenti/20162/Behun_Marek_24578510/du6bitcount.cpp:6:75: note: called from here
 const body_avx::simd_carrier_t body_avx::popcount_mask_ = _mm256_set1_epi8(0x0f);
                                                           ~~~~~~~~~~~~~~~~^~~~~~
In file included from /usr/local/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/immintrin.h:41:0,
                 from ../../../studenti/20162/Behun_Marek_24578510/du6bitcount.hpp:6,
                 from ../../../studenti/20162/Behun_Marek_24578510/du6bitcount.cpp:1:
/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/avxintrin.h:1357:1: error: inlining failed in call to always_inline ‘__m256i _mm256_setr_epi8(char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char)’: target specific option mismatch
 _mm256_setr_epi8  (char __q31, char __q30, char __q29, char __q28,
 ^~~~~~~~~~~~~~~~
../../../studenti/20162/Behun_Marek_24578510/du6bitcount.cpp:7:76: note: called from here
 const body_avx::simd_carrier_t body_avx::popcount_table_ = _mm256_setr_epi8(
                                                            ~~~~~~~~~~~~~~~~^
  0, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 4,
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                            
  0, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 4
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
 );
 ~                                                                           
In file included from /usr/local/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/immintrin.h:41:0,
                 from ../../../studenti/20162/Behun_Marek_24578510/du6bitcount.hpp:6,
                 from ../../../studenti/20162/Behun_Marek_24578510/du6bitcount.cpp:1:
/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/avxintrin.h:1307:1: error: inlining failed in call to always_inline ‘__m256i _mm256_set1_epi8(char)’: target specific option mismatch
 _mm256_set1_epi8 (char __A)
 ^~~~~~~~~~~~~~~~
../../../studenti/20162/Behun_Marek_24578510/du6bitcount.cpp:6:75: note: called from here
 const body_avx::simd_carrier_t body_avx::popcount_mask_ = _mm256_set1_epi8(0x0f);
                                                           ~~~~~~~~~~~~~~~~^~~~~~

du6main.cpp

In file included from du6main.cpp:5:0:
../../../studenti/20162/Behun_Marek_24578510/du6bitcount.hpp: In static member function ‘static body_avx::simd_carrier_t body_avx::popcount8(body_avx::simd_carrier_t)’:
../../../studenti/20162/Behun_Marek_24578510/du6bitcount.hpp:517:59: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
  static inline simd_carrier_t popcount8(simd_carrier_t n) {
                                                           ^

Linker error reports

du6.cpp

Something is missing: ../../../studenti/20162/__tmp6specific/knight/Behun_Marek_24578510/du6bitcount.o ../../../studenti/20162/__tmp6specific/knight/Behun_Marek_24578510/du6main.o

Run output diffs

empty.in

Something is missing: ../../../studenti/20162/__tmp6specific/knight/Behun_Marek_24578510/du6

empty

Something is missing: ../../../studenti/20162/__out6specific/knight/Behun_Marek_24578510/empty.err