AVX2 runtime detection not working properly
I'm building opus 1.5.2 with the following cmake options:
-DOPUS_X86_MAY_HAVE_AVX2=on -DOPUS_X86_PRESUME_AVX2=off -DOPUS_DEEP_PLC=on
The build process is done on a machine with AVX2. When I run my application on a machine without AVX2 it crashes in silk_inner_product_FLP_avx2 with "trap invalid opcode".
This lets me presume that AVX2 runtime detection does not work properly.