public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/35189]  New: -mno-sse4.2 turns off SSE4a
@ 2008-02-13 23:42 hjl dot tools at gmail dot com
  2008-02-13 23:50 ` [Bug target/35189] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-02-13 23:42 UTC (permalink / raw)
  To: gcc-bugs

[hjl@gnu-6 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
}
[hjl@gnu-6 tmp]$ /usr/gcc-4.3/bin/gcc -march=core2 -mno-sse4.2 y.c && ./a.out
SSE
SSE2
SSE3
SSSE3
[hjl@gnu-6 tmp]$ /usr/gcc-4.3/bin/gcc -march=amdfam10 -mno-sse4.2 y.c &&
./a.out 
SSE
SSE2
SSE3
[hjl@gnu-6 tmp]$ /usr/gcc-4.3/bin/gcc -march=amdfam10 y.c && ./a.out
SSE
SSE2
SSE3
SSE4A
[hjl@gnu-6 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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-03-07  6:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-13 23:42 [Bug target/35189] New: -mno-sse4.2 turns off SSE4a hjl dot tools at gmail dot com
2008-02-13 23:50 ` [Bug target/35189] " pinskia at gcc dot gnu dot org
2008-02-13 23:55 ` michael dot meissner at amd dot com
2008-02-14  0:12 ` hjl dot tools at gmail dot com
2008-02-14  0:21 ` michael dot meissner at amd dot com
2008-02-14  1:45 ` hjl dot tools at gmail dot com
2008-02-19  1:22 ` hjl at gcc dot gnu dot org
2008-03-07  0:09 ` hjl at gcc dot gnu dot org
2008-03-07  4:25 ` hjl dot tools at gmail dot com
2008-03-07  6:50 ` ubizjak at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).