I am working with a company to create a specialized set of codes that use SSE instructions. They are using the Qt Creator IDE. I have provided them with a C header file and corresponding *.c file that compile in XCode and Visual Studio; they don't compile in Qt Creator.
How do I alter the appropriate compiler settings so that SSE instructions will compile in Qt Creator?
The line causing the first error is as follows:
_mm_store_ps(outData, _mm_add_ps(*l, *r));
The error statements read:
Inlining failed in call to always_inline ‘__mm_add_ps’: target specific option mismatch
Inlining failed in call to always_inline ‘_mm_store_ps’: target specific option mismatch
We're also getting this warning:
SSE vector return without SSE enabled changes the ABI [-Wpsabi]