On Fri, Oct 09, 2020 at 12:26:17AM +0000, Jonathan Yong wrote > > I have a skylake system: > CPU_FLAGS_X86: aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand > sse sse2 sse3 sse4_1 sse4_2 ssse3
A heavy-handed 2-part solution 1) remove "avx2" from CPU_FLAGS_X86 2) assuming you have "-march=native" or "-march=skylake" in your CFLAGS and CXXFLAGS, follow that with "-march=no-avx2". e.g... "-march=skylake -march=no-avx2" This tells gcc "I don't have avx2, so don't compile any avx2 code". I think the performance loss will be minimal. -- Walter Dnes <[email protected]> I don't run "desktop environments"; I run useful applications

