decoding icon indicating copy to clipboard operation
decoding copied to clipboard

A problem encountered when compiling "decoding".

Open yodong912 opened this issue 1 year ago • 2 comments

When I compile according to the instructions in "Build", entering the "make - j8" command will result in an error similar to the following: (What should be the problem?I am using the WSN subsystem on Windows 10, Ubuntu version 22.04, and the CPU model is 11th Gen Intel (R) core (TM) i7-1165G7 @ 2.80GHz.) _/home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:730:49: error: ‘__builtin_shufflevector’ was not declared in this scope; did you mean ‘__builtin_eh_filter’? 730 | const __m128i lane0 = (__m128i) __builtin_shufflevector(input.v512, input.v512, 0, 1); | ^~~~~~~~~~~~~~~~~~~~~~~ | _builtin_eh_filter /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr uint8x64_t uint8x64_t::reverse(uint8x64_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:751:62: error: call to non-‘constexpr’ function ‘__m512i _mm512_set_epi64(long long int, long long int, long long int, long long int, long long int, long long int, long long int, long long int)’ 751 | const __m512i indices_byte = _mm512_set_epi64( | ~~~~~~~~~~~~~~~~^ 752 | 0x0001020304050607llu, 0x08090a0b0c0d0e0fllu, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 753 | 0x1011121314151617llu, 0x18191a1b1c1d1e1fllu, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 754 | 0x2021222324252627llu, 0x28292a2b2c2d2e2fllu, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 755 | 0x3031323334353637llu, 0x38393a3b3c3d3e3fllu); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:49, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/avx2.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/popcount.h:8, from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:9, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/kAry_type.h:10, from /home/tong_yu/decoding/deps/cryptanalysislib/src/tree.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_build_tree.cpp:7: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx512fintrin.h:79:1: note: ‘__m512i _mm512_set_epi64(long long int, long long int, long long int, long long int, long long int, long long int, long long int, long long int)’ declared here 79 | _mm512_set_epi64 (long long __A, long long __B, long long __C, | ^~~~~~~~~~~~~~~~ In file included from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:30, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/kAry_type.h:10, from /home/tong_yu/decoding/deps/cryptanalysislib/src/tree.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_build_tree.cpp:7: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr uint64_t uint8x64_t::move(uint8x64_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:840:56: error: call to non-‘constexpr’ function ‘__mmask64 _mm512_movepi8_mask(__m512i)’ 840 | const __mmask64 t = _mm512_movepi8_mask(in.v512); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:59, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/avx2.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/popcount.h:8, from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:9, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/kAry_type.h:10, from /home/tong_yu/decoding/deps/cryptanalysislib/src/tree.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_build_tree.cpp:7: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx512bwintrin.h:1788:1: note: ‘__mmask64 _mm512_movepi8_mask(__m512i)’ declared here 1788 | _mm512_movepi8_mask (__m512i __A) | ^~~~~~~~~~~~~~~~~~~ In file included from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:30, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/kAry_type.h:10, from /home/tong_yu/decoding/deps/cryptanalysislib/src/tree.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_build_tree.cpp:7: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr uint8x64_t uint8x64_t::comp_sign(uint8x64_t, uint8x64_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:875:52: error: call to non-‘constexpr’ function ‘__m512i _mm512_setzero_si512()’ 875 | __m512i zero = _mm512_setzero_si512(); | ~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:49, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/avx2.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/popcount.h:8, from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:9, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/kAry_type.h:10, from /home/tong_yu/decoding/deps/cryptanalysislib/src/tree.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_build_tree.cpp:7: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx512fintrin.h:334:1: note: ‘__m512i _mm512_setzero_si512()’ declared here 334 | _mm512_setzero_si512 (void) | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:30, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/kAry_type.h:10, from /home/tong_yu/decoding/deps/cryptanalysislib/src/tree.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_build_tree.cpp:7: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr uint32_t uint16x32_t::move(uint16x32_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:1295:57: error: call to non-‘constexpr’ function ‘__mmask32 _mm512_movepi16_mask(__m512i)’ 1295 | const __mmask32 t = _mm512_movepi16_mask(in.v512); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:59, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/avx2.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/popcount.h:8, from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:9, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/kAry_type.h:10, from /home/tong_yu/decoding/deps/cryptanalysislib/src/tree.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_build_tree.cpp:7: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx512bwintrin.h:1795:1: note: ‘__mmask32 _mm512_movepi16_mask(__m512i)’ declared here 1795 | _mm512_movepi16_mask (__m512i __A) | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:30, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/kAry_type.h:10, from /home/tong_yu/decoding/deps/cryptanalysislib/src/tree.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_build_tree.cpp:7: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr uint16_t uint32x16_t::move(uint32x16_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:1752:57: error: call to non-‘constexpr’ function ‘__mmask16 _mm512_movepi32_mask(__m512i)’ 1752 | const __mmask16 t = _mm512_movepi32_mask(in.v512); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:61, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/avx2.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/popcount.h:8, from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:9, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/kAry_type.h:10, from /home/tong_yu/decoding/deps/cryptanalysislib/src/tree.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_build_tree.cpp:7: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx512dqintrin.h:662:1: note: ‘__mmask16 _mm512_movepi32_mask(__m512i)’ declared here 662 | _mm512_movepi32_mask (__m512i __A) | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:30, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/kAry_type.h:10, from /home/tong_yu/decoding/deps/cryptanalysislib/src/tree.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_build_tree.cpp:7: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr uint8_t uint64x8_t::move(uint64x8_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:2185:56: error: call to non-‘constexpr’ function ‘__mmask8 _mm512_movepi64_mask(__m512i)’ 2185 | const __mmask8 t = _mm512_movepi64_mask(in.v512); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:61, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/avx2.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/popcount.h:8, from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:9, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/kAry_type.h:10, from /home/tong_yu/decoding/deps/cryptanalysislib/src/tree.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_build_tree.cpp:7: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx512dqintrin.h:669:1: note: ‘__mmask8 _mm512_movepi64_mask(__m512i)’ declared here 669 | _mm512_movepi64_mask (__m512i __A) | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:30, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/algorithm/int2weight.h:5, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_pcs.cpp:8: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr bool uint8x64_t::all_equal(uint8x64_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:730:49: error: ‘__builtin_shufflevector’ was not declared in this scope; did you mean ‘__builtin_eh_filter’? 730 | const __m128i lane0 = (__m128i) __builtin_shufflevector(input.v512, input.v512, 0, 1); | ^~~~~~~~~~~~~~~~~~~~~~~ | _builtin_eh_filter /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr uint8x64_t uint8x64_t::reverse(uint8x64_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:751:62: error: call to non-‘constexpr’ function ‘__m512i _mm512_set_epi64(long long int, long long int, long long int, long long int, long long int, long long int, long long int, long long int)’ 751 | const __m512i indices_byte = _mm512_set_epi64( | ~~~~~~~~~~~~~~~~^ 752 | 0x0001020304050607llu, 0x08090a0b0c0d0e0fllu, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 753 | 0x1011121314151617llu, 0x18191a1b1c1d1e1fllu, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 754 | 0x2021222324252627llu, 0x28292a2b2c2d2e2fllu, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 755 | 0x3031323334353637llu, 0x38393a3b3c3d3e3fllu); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:49, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/avx2.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/popcount.h:8, from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:9, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/algorithm/int2weight.h:5, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_pcs.cpp:8: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx512fintrin.h:79:1: note: ‘__m512i _mm512_set_epi64(long long int, long long int, long long int, long long int, long long int, long long int, long long int, long long int)’ declared here 79 | _mm512_set_epi64 (long long __A, long long __B, long long __C, | ^~~~~~~~~~~~~~~~ In file included from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:30, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/algorithm/int2weight.h:5, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_pcs.cpp:8: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr uint64_t uint8x64_t::move(uint8x64_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:840:56: error: call to non-‘constexpr’ function ‘__mmask64 _mm512_movepi8_mask(__m512i)’ 840 | const __mmask64 t = _mm512_movepi8_mask(in.v512); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:59, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/avx2.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/popcount.h:8, from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:9, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/algorithm/int2weight.h:5, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_pcs.cpp:8: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx512bwintrin.h:1788:1: note: ‘__mmask64 _mm512_movepi8_mask(__m512i)’ declared here 1788 | _mm512_movepi8_mask (__m512i __A) | ^~~~~~~~~~~~~~~~~~~ In file included from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:30, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/algorithm/int2weight.h:5, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_pcs.cpp:8: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr uint8x64_t uint8x64_t::comp_sign(uint8x64_t, uint8x64_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:875:52: error: call to non-‘constexpr’ function ‘__m512i _mm512_setzero_si512()’ 875 | __m512i zero = _mm512_setzero_si512(); | ~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:49, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/avx2.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/popcount.h:8, from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:9, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/algorithm/int2weight.h:5, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_pcs.cpp:8: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx512fintrin.h:334:1: note: ‘__m512i _mm512_setzero_si512()’ declared here 334 | _mm512_setzero_si512 (void) | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:30, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/algorithm/int2weight.h:5, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_pcs.cpp:8: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr uint32_t uint16x32_t::move(uint16x32_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:1295:57: error: call to non-‘constexpr’ function ‘__mmask32 _mm512_movepi16_mask(__m512i)’ 1295 | const __mmask32 t = _mm512_movepi16_mask(in.v512); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:59, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/avx2.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/popcount.h:8, from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:9, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/algorithm/int2weight.h:5, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_pcs.cpp:8: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx512bwintrin.h:1795:1: note: ‘__mmask32 _mm512_movepi16_mask(__m512i)’ declared here 1795 | _mm512_movepi16_mask (__m512i __A) | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:30, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/algorithm/int2weight.h:5, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_pcs.cpp:8: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr uint16_t uint32x16_t::move(uint32x16_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:1752:57: error: call to non-‘constexpr’ function ‘__mmask16 _mm512_movepi32_mask(__m512i)’ 1752 | const __mmask16 t = _mm512_movepi32_mask(in.v512); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:61, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/avx2.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/popcount.h:8, from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:9, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/algorithm/int2weight.h:5, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_pcs.cpp:8: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx512dqintrin.h:662:1: note: ‘__mmask16 _mm512_movepi32_mask(__m512i)’ declared here 662 | _mm512_movepi32_mask (__m512i __A) | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:30, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/binary_packed_vector.h:16, from /home/tong_yu/decoding/deps/cryptanalysislib/src/element.h:17, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test.h:7, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_label.cpp:5: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr bool uint8x64_t::all_equal(uint8x64_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:730:49: error: ‘__builtin_shufflevector’ was not declared in this scope; did you mean ‘__builtin_eh_filter’? 730 | const __m128i lane0 = (__m128i) __builtin_shufflevector(input.v512, input.v512, 0, 1); | ^~~~~~~~~~~~~~~~~~~~~~~ | __builtin_eh_filter In file included from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:30, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/algorithm/int2weight.h:5, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_pcs.cpp:8: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr uint8_t uint64x8_t::move(uint64x8_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:2185:56: error: call to non-‘constexpr’ function ‘__mmask8 _mm512_movepi64_mask(__m512i)’ 2185 | const __mmask8 t = _mm512_movepi64_mask(in.v512); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:61, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/avx2.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/popcount.h:8, from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:9, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/algorithm/int2weight.h:5, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_pcs.cpp:8: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx512dqintrin.h:669:1: note: ‘__mmask8 _mm512_movepi64_mask(__m512i)’ declared here 669 | _mm512_movepi64_mask (__m512i _A) | ^~~~~~~~~~~~~~~~~~~~ /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr uint8x64_t uint8x64_t::reverse(uint8x64_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:751:62: error: call to non-‘constexpr’ function ‘__m512i _mm512_set_epi64(long long int, long long int, long long int, long long int, long long int, long long int, long long int, long long int)’ 751 | const __m512i indices_byte = _mm512_set_epi64( | ~~~~~~~~~~~~~~~~^ 752 | 0x0001020304050607llu, 0x08090a0b0c0d0e0fllu, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 753 | 0x1011121314151617llu, 0x18191a1b1c1d1e1fllu, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 754 | 0x2021222324252627llu, 0x28292a2b2c2d2e2fllu, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 755 | 0x3031323334353637llu, 0x38393a3b3c3d3e3fllu); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:49, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/binary_packed_vector.h:9, from /home/tong_yu/decoding/deps/cryptanalysislib/src/element.h:17, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test.h:7, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_label.cpp:5: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx512fintrin.h:79:1: note: ‘__m512i _mm512_set_epi64(long long int, long long int, long long int, long long int, long long int, long long int, long long int, long long int)’ declared here 79 | _mm512_set_epi64 (long long __A, long long __B, long long __C, | ^~~~~~~~~~~~~~~~ In file included from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:30, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/binary_packed_vector.h:16, from /home/tong_yu/decoding/deps/cryptanalysislib/src/element.h:17, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test.h:7, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_label.cpp:5: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr uint64_t uint8x64_t::move(uint8x64_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:840:56: error: call to non-‘constexpr’ function ‘__mmask64 _mm512_movepi8_mask(__m512i)’ 840 | const __mmask64 t = _mm512_movepi8_mask(in.v512); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:59, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/binary_packed_vector.h:9, from /home/tong_yu/decoding/deps/cryptanalysislib/src/element.h:17, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test.h:7, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_label.cpp:5: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx512bwintrin.h:1788:1: note: ‘__mmask64 _mm512_movepi8_mask(__m512i)’ declared here 1788 | _mm512_movepi8_mask (__m512i __A) | ^~~~~~~~~~~~~~~~~~~ In file included from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:30, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/binary_packed_vector.h:16, from /home/tong_yu/decoding/deps/cryptanalysislib/src/element.h:17, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test.h:7, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_label.cpp:5: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr uint8x64_t uint8x64_t::comp_sign(uint8x64_t, uint8x64_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:875:52: error: call to non-‘constexpr’ function ‘__m512i _mm512_setzero_si512()’ 875 | __m512i zero = _mm512_setzero_si512(); | ~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:49, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/binary_packed_vector.h:9, from /home/tong_yu/decoding/deps/cryptanalysislib/src/element.h:17, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test.h:7, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_label.cpp:5: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx512fintrin.h:334:1: note: ‘__m512i _mm512_setzero_si512()’ declared here 334 | _mm512_setzero_si512 (void) | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:30, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/binary_packed_vector.h:16, from /home/tong_yu/decoding/deps/cryptanalysislib/src/element.h:17, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test.h:7, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_label.cpp:5: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr uint32_t uint16x32_t::move(uint16x32_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:1295:57: error: call to non-‘constexpr’ function ‘__mmask32 _mm512_movepi16_mask(__m512i)’ 1295 | const __mmask32 t = _mm512_movepi16_mask(in.v512); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:59, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/binary_packed_vector.h:9, from /home/tong_yu/decoding/deps/cryptanalysislib/src/element.h:17, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test.h:7, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_label.cpp:5: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx512bwintrin.h:1795:1: note: ‘__mmask32 _mm512_movepi16_mask(__m512i)’ declared here 1795 | _mm512_movepi16_mask (__m512i __A) | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:30, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/binary_packed_vector.h:16, from /home/tong_yu/decoding/deps/cryptanalysislib/src/element.h:17, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test.h:7, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_label.cpp:5: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr uint16_t uint32x16_t::move(uint32x16_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:1752:57: error: call to non-‘constexpr’ function ‘__mmask16 _mm512_movepi32_mask(__m512i)’ 1752 | const __mmask16 t = _mm512_movepi32_mask(in.v512); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:61, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/binary_packed_vector.h:9, from /home/tong_yu/decoding/deps/cryptanalysislib/src/element.h:17, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test.h:7, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_label.cpp:5: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx512dqintrin.h:662:1: note: ‘__mmask16 _mm512_movepi32_mask(__m512i)’ declared here 662 | _mm512_movepi32_mask (__m512i __A) | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:30, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/binary_packed_vector.h:16, from /home/tong_yu/decoding/deps/cryptanalysislib/src/element.h:17, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test.h:7, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_label.cpp:5: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr uint8_t uint64x8_t::move(uint64x8_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:2185:56: error: call to non-‘constexpr’ function ‘__mmask8 _mm512_movepi64_mask(__m512i)’ 2185 | const __mmask8 t = _mm512_movepi64_mask(in.v512); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:61, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/binary_packed_vector.h:9, from /home/tong_yu/decoding/deps/cryptanalysislib/src/element.h:17, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test.h:7, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_label.cpp:5: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx512dqintrin.h:669:1: note: ‘__mmask8 _mm512_movepi64_mask(__m512i)’ declared here 669 | _mm512_movepi64_mask (__m512i __A) | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:30, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/kAry_type.h:10, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_kArytype.cpp:5: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr bool uint8x64_t::all_equal(uint8x64_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:730:49: error: ‘__builtin_shufflevector’ was not declared in this scope; did you mean ‘__builtin_eh_filter’? 730 | const __m128i lane0 = (__m128i) __builtin_shufflevector(input.v512, input.v512, 0, 1); | ^~~~~~~~~~~~~~~~~~~~~~~ | _builtin_eh_filter /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr uint8x64_t uint8x64_t::reverse(uint8x64_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:751:62: error: call to non-‘constexpr’ function ‘__m512i _mm512_set_epi64(long long int, long long int, long long int, long long int, long long int, long long int, long long int, long long int)’ 751 | const __m512i indices_byte = _mm512_set_epi64( | ~~~~~~~~~~~~~~~~^ 752 | 0x0001020304050607llu, 0x08090a0b0c0d0e0fllu, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 753 | 0x1011121314151617llu, 0x18191a1b1c1d1e1fllu, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 754 | 0x2021222324252627llu, 0x28292a2b2c2d2e2fllu, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 755 | 0x3031323334353637llu, 0x38393a3b3c3d3e3fllu); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:49, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/avx2.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/popcount.h:8, from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:9, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/kAry_type.h:10, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_kArytype.cpp:5: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx512fintrin.h:79:1: note: ‘__m512i _mm512_set_epi64(long long int, long long int, long long int, long long int, long long int, long long int, long long int, long long int)’ declared here 79 | _mm512_set_epi64 (long long __A, long long __B, long long __C, | ^~~~~~~~~~~~~~~~ In file included from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:30, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/kAry_type.h:10, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_kArytype.cpp:5: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr uint64_t uint8x64_t::move(uint8x64_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:840:56: error: call to non-‘constexpr’ function ‘__mmask64 _mm512_movepi8_mask(__m512i)’ 840 | const __mmask64 t = _mm512_movepi8_mask(in.v512); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:59, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/avx2.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/popcount.h:8, from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:9, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/kAry_type.h:10, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_kArytype.cpp:5: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx512bwintrin.h:1788:1: note: ‘__mmask64 _mm512_movepi8_mask(__m512i)’ declared here 1788 | _mm512_movepi8_mask (__m512i __A) | ^~~~~~~~~~~~~~~~~~~ In file included from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:30, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/kAry_type.h:10, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_kArytype.cpp:5: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr uint8x64_t uint8x64_t::comp_sign(uint8x64_t, uint8x64_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:875:52: error: call to non-‘constexpr’ function ‘__m512i _mm512_setzero_si512()’ 875 | __m512i zero = _mm512_setzero_si512(); | ~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:49, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/avx2.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/popcount.h:8, from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:9, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/kAry_type.h:10, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_kArytype.cpp:5: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx512fintrin.h:334:1: note: ‘__m512i _mm512_setzero_si512()’ declared here 334 | _mm512_setzero_si512 (void) | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:30, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/kAry_type.h:10, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_kArytype.cpp:5: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr uint32_t uint16x32_t::move(uint16x32_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:1295:57: error: call to non-‘constexpr’ function ‘__mmask32 _mm512_movepi16_mask(__m512i)’ 1295 | const __mmask32 t = _mm512_movepi16_mask(in.v512); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:59, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/avx2.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/popcount.h:8, from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:9, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/kAry_type.h:10, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_kArytype.cpp:5: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx512bwintrin.h:1795:1: note: ‘__mmask32 _mm512_movepi16_mask(__m512i)’ declared here 1795 | _mm512_movepi16_mask (__m512i __A) | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:30, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/kAry_type.h:10, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_kArytype.cpp:5: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr uint16_t uint32x16_t::move(uint32x16_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:1752:57: error: call to non-‘constexpr’ function ‘__mmask16 _mm512_movepi32_mask(__m512i)’ 1752 | const __mmask16 t = _mm512_movepi32_mask(in.v512); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:61, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/avx2.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/popcount.h:8, from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:9, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/kAry_type.h:10, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_kArytype.cpp:5: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx512dqintrin.h:662:1: note: ‘__mmask16 _mm512_movepi32_mask(__m512i)’ declared here 662 | _mm512_movepi32_mask (__m512i __A) | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:30, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/kAry_type.h:10, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_kArytype.cpp:5: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr uint8_t uint64x8_t::move(uint64x8_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:2185:56: error: call to non-‘constexpr’ function ‘__mmask8 _mm512_movepi64_mask(__m512i)’ 2185 | const __mmask8 t = _mm512_movepi64_mask(in.v512); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:61, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/avx2.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/popcount/popcount.h:8, from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:9, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/mod.h:6, from /home/tong_yu/decoding/deps/cryptanalysislib/src/math/math.h:12, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/kAry_type.h:10, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_kArytype.cpp:5: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx512dqintrin.h:669:1: note: ‘__mmask8 _mm512_movepi64_mask(__m512i)’ declared here 669 | _mm512_movepi64_mask (__m512i __A) | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:30, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/binary_packed_vector.h:16, from /home/tong_yu/decoding/deps/cryptanalysislib/src/element.h:17, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test.h:7, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_value.cpp:5: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr bool uint8x64_t::all_equal(uint8x64_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:730:49: error: ‘__builtin_shufflevector’ was not declared in this scope; did you mean ‘__builtin_eh_filter’? 730 | const __m128i lane0 = (__m128i) __builtin_shufflevector(input.v512, input.v512, 0, 1); | ^~~~~~~~~~~~~~~~~~~~~~~ | _builtin_eh_filter /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr uint8x64_t uint8x64_t::reverse(uint8x64_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:751:62: error: call to non-‘constexpr’ function ‘__m512i _mm512_set_epi64(long long int, long long int, long long int, long long int, long long int, long long int, long long int, long long int)’ 751 | const __m512i indices_byte = _mm512_set_epi64( | ~~~~~~~~~~~~~~~~^ 752 | 0x0001020304050607llu, 0x08090a0b0c0d0e0fllu, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 753 | 0x1011121314151617llu, 0x18191a1b1c1d1e1fllu, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 754 | 0x2021222324252627llu, 0x28292a2b2c2d2e2fllu, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 755 | 0x3031323334353637llu, 0x38393a3b3c3d3e3fllu); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:49, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/binary_packed_vector.h:9, from /home/tong_yu/decoding/deps/cryptanalysislib/src/element.h:17, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test.h:7, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_value.cpp:5: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx512fintrin.h:79:1: note: ‘__m512i _mm512_set_epi64(long long int, long long int, long long int, long long int, long long int, long long int, long long int, long long int)’ declared here 79 | _mm512_set_epi64 (long long __A, long long __B, long long __C, | ^~~~~~~~~~~~~~~~ In file included from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:30, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/binary_packed_vector.h:16, from /home/tong_yu/decoding/deps/cryptanalysislib/src/element.h:17, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test.h:7, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_value.cpp:5: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr uint64_t uint8x64_t::move(uint8x64_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:840:56: error: call to non-‘constexpr’ function ‘__mmask64 _mm512_movepi8_mask(__m512i)’ 840 | const __mmask64 t = _mm512_movepi8_mask(in.v512); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:59, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/binary_packed_vector.h:9, from /home/tong_yu/decoding/deps/cryptanalysislib/src/element.h:17, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test.h:7, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_value.cpp:5: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx512bwintrin.h:1788:1: note: ‘__mmask64 _mm512_movepi8_mask(__m512i)’ declared here 1788 | _mm512_movepi8_mask (__m512i __A) | ^~~~~~~~~~~~~~~~~~~ In file included from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:30, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/binary_packed_vector.h:16, from /home/tong_yu/decoding/deps/cryptanalysislib/src/element.h:17, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test.h:7, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_value.cpp:5: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr uint8x64_t uint8x64_t::comp_sign(uint8x64_t, uint8x64_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:875:52: error: call to non-‘constexpr’ function ‘__m512i _mm512_setzero_si512()’ 875 | __m512i zero = _mm512_setzero_si512(); | ~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:49, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/binary_packed_vector.h:9, from /home/tong_yu/decoding/deps/cryptanalysislib/src/element.h:17, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test.h:7, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_value.cpp:5: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx512fintrin.h:334:1: note: ‘__m512i _mm512_setzero_si512()’ declared here 334 | _mm512_setzero_si512 (void) | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:30, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/binary_packed_vector.h:16, from /home/tong_yu/decoding/deps/cryptanalysislib/src/element.h:17, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test.h:7, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_value.cpp:5: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr uint32_t uint16x32_t::move(uint16x32_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:1295:57: error: call to non-‘constexpr’ function ‘__mmask32 _mm512_movepi16_mask(__m512i)’ 1295 | const __mmask32 t = _mm512_movepi16_mask(in.v512); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:59, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/binary_packed_vector.h:9, from /home/tong_yu/decoding/deps/cryptanalysislib/src/element.h:17, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test.h:7, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_value.cpp:5: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx512bwintrin.h:1795:1: note: ‘__mmask32 _mm512_movepi16_mask(__m512i)’ declared here 1795 | _mm512_movepi16_mask (__m512i __A) | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:30, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/binary_packed_vector.h:16, from /home/tong_yu/decoding/deps/cryptanalysislib/src/element.h:17, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test.h:7, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_value.cpp:5: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr uint16_t uint32x16_t::move(uint32x16_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:1752:57: error: call to non-‘constexpr’ function ‘__mmask16 _mm512_movepi32_mask(__m512i)’ 1752 | const __mmask16 t = _mm512_movepi32_mask(in.v512); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:61, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/binary_packed_vector.h:9, from /home/tong_yu/decoding/deps/cryptanalysislib/src/element.h:17, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test.h:7, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_value.cpp:5: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx512dqintrin.h:662:1: note: ‘__mmask16 _mm512_movepi32_mask(__m512i)’ declared here 662 | _mm512_movepi32_mask (__m512i __A) | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/simd.h:30, from /home/tong_yu/decoding/deps/cryptanalysislib/src/container/binary_packed_vector.h:16, from /home/tong_yu/decoding/deps/cryptanalysislib/src/element.h:17, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test.h:7, from /home/tong_yu/decoding/deps/cryptanalysislib/tests/test_value.cpp:5: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h: In static member function ‘static constexpr uint8_t uint64x8_t::move(uint64x8_t)’: /home/tong_yu/decoding/deps/cryptanalysislib/src/simd/avx512.h:2185:56: error: call to non-‘constexpr’ function ‘__mmask8 _mm512_movepi64_mask(__m512i)’ 2185 | const __mmask8 t = mm512_movepi64_mask(in.v512);

yodong912 avatar Nov 01 '24 15:11 yodong912

thanks for posting. I know whats the problem. i will push an update next week.

FloydZ avatar Nov 07 '24 18:11 FloydZ

Thank you for your reply! I will try again after the update.

在 2024-11-08 02:05:57,"FloydZ" @.***> 写道:

thanks for posting. I know whats the problem. i will push an update next week.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

yodong912 avatar Nov 11 '24 11:11 yodong912