View Single Post
Old 2019-11-12, 01:49   #6
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

2·7·263 Posts
Default

I tried to go back a couple revisions, but still no luck with AVX2, only SSE41.
Code:
top/eratosthenes/primes.c:354:11: note: called from here
         | _pdep_u64(x2, 0xaaaaaaaaaaaaaaaa);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/7/include/immintrin.h:83:0,
                 from include/soe.h:27,
                 from top/eratosthenes/primes.c:15:
/usr/lib/gcc/x86_64-linux-gnu/7/include/bmi2intrin.h:69:1: error: inlining failed in call to always_inline \u2018_pdep_u64\u2019: target specific option mismatch
 _pdep_u64 (unsigned long long __X, unsigned long long __Y)
 ^~~~~~~~~
top/eratosthenes/primes.c:353:12: note: called from here
     return _pdep_u64(x1, 0x5555555555555555) 
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<builtin>: recipe for target 'top/eratosthenes/primes.o' failed
make: *** [top/eratosthenes/primes.o] Error 1
EdH is offline   Reply With Quote