I’ve been developing a plugin and I’ve been trying to use AVX2 for optimisation. When I try to build it in xcode it gives me the following error message:
Always_inline function ‘_mm256_load_ps’ requires target feature ‘sse4.2’, but would be inlined into function ‘processBlock’ that is compiled without support for ‘sse4.2’
I am currently including <immintrin.h> and have configured “Enable Additional Vector Extensions” to AVX2, but neither of these resolve the issue.
Could someone tell whether it is possible to use AVX instructions within JUCE and if so how?
Is it something that has to be changed or added in the Projucer configuration-specific build settings?