[EMAIL PROTECTED] tmp]$ cat y.c
#include <stdio.h>

int
main ()
{
#ifdef __SSE__
  printf ("SSE\n");
#endif
#ifdef __SSE2__
  printf ("SSE2\n");
#endif
#ifdef __SSE3__
  printf ("SSE3\n");
#endif
#ifdef __SSSE3__
  printf ("SSSE3\n");
#endif
#ifdef __SSE4_1__
  printf ("SSE4.1\n");
#endif
#ifdef __SSE4_2__
  printf ("SSE4.2\n");
#endif
#ifdef __SSE4A__
  printf ("SSE4A\n");
#endif
}
[EMAIL PROTECTED] tmp]$ /usr/gcc-4.3/bin/gcc -march=core2 -mno-sse4.2 y.c && 
./a.out
SSE
SSE2
SSE3
SSSE3
[EMAIL PROTECTED] tmp]$ /usr/gcc-4.3/bin/gcc -march=amdfam10 -mno-sse4.2 y.c &&
./a.out 
SSE
SSE2
SSE3
[EMAIL PROTECTED] tmp]$ /usr/gcc-4.3/bin/gcc -march=amdfam10 y.c && ./a.out
SSE
SSE2
SSE3
SSE4A
[EMAIL PROTECTED] tmp]$


-- 
           Summary: -mno-sse4.2 turns off SSE4a
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com
GCC target triplet: i686-pc-linux-gnu


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

Reply via email to