I want to use AVX intrinsic, like: __m256 factor_min = _mm256_set1_ps(1.329227); but I got the following compile error:
Always_inline function '_mm256_set1_ps' requires target feature 'xsave', but would be inlined into function 'AveragePooling' that is compiled without support for 'xsave'
My environment is:MacOs + Intel Core i7 + xcode8.3
I have seen other discussion about 'xsave'.But still don't know how to fix this compile error.I know nothing about assembly instructions.Is there any easy way to fix this error(maybe just change xode setting?)? Thanks a lot.
I think Intel Core i7 can totally support AVX.