
1 Apr
2011
1 Apr
'11
8:01 a.m.
On 01/04/2011 09:20, Joel Falcou wrote:
Is there a way to detect those compile options?
Yes, but the equivalent options don't exist on MSVC. The problem is that the two compilers have radically different ways to deal with this.
We have to explore this. After giving some thought the need for non binary level of cross instruction set support is indeed valuable.
I tested it, and it doesn't work. If -msse2 etc. are not set, the __builtin_ia32 family of functions, which are used by emmintrin.h and other headers to implement the _mm_ family of functions, don't exist.