http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56507



--- Comment #2 from Alexander <bratsinot at gmail dot com> 2013-03-02 13:49:39 
UTC ---

(In reply to comment #1)

> (In reply to comment #0)

> > GCC -march=native includes only flags: -mmmx -msse -msse2 -msse3 -mssse3

> > but some Core2Duo processors have -msse4 -msse4.1.

> 

> But yours must not.  GCC's -march=native uses cpuid's flags field to see if

> sse4/sse4.1 is supported.

> 

> From driver-i386.c:

>   __cpuid (1, eax, ebx, ecx, edx);

> ...  

>   has_sse4_1 = ecx & bit_SSE4_1;

>   has_sse4_2 = ecx & bit_SSE4_2;

> ...

>       const char *sse4_2 = has_sse4_2 ? " -msse4.2" : " -mno-sse4.2";

>       const char *sse4_1 = has_sse4_1 ? " -msse4.1" : " -mno-sse4.1";



I have Core2Duo E8200, this is Wolfdale and this processor include SSE4.1.

Reply via email to