This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: -mmmx and -msse are broken [unreviewed patch attached - 3.0 regression]
- To: gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org, Craig Rodrigues <rodrigc at mediaone dot net>
- Subject: Re: -mmmx and -msse are broken [unreviewed patch attached - 3.0 regression]
- From: Kelley Cook <kelley dot cook at home dot com>
- Date: Tue, 29 May 2001 13:00:09 -0400
- References: <20010525044215.A5788@mediaone.net>
>The -msse and -mmmx flags seem broken and cause an ICE.
>I just tested this on: http://www.codesourcery.com/gcc-compile.shtml
>Should these flags be disabled for the upcoming gcc 3.0 release?
I certainly thought so, so I wrote the simple attached patch for the GCC
3.0 branch which is still awaiting review.
I just checked and it still applies cleanly and bootstraps the
gcc-3.0-200010527 tarball.
After the patch is applied, attempting to use either option will
cause the same "unsupported option" behavior that 2.95.x did.
Kelley Cook <no checkin privledges>
2000-04-26 Kelley Cook <kelley.cook@home.com>
* config/i386/i386.h (TARGET_SWITCHES): Remove -mmmx and -msse options.
--- i386.h.orig Thu Apr 26 15:08:05 2001
+++ i386.h Thu Apr 26 15:19:34 2001
@@ -293,15 +293,8 @@
{ "accumulate-outgoing-args", MASK_ACCUMULATE_OUTGOING_ARGS, \
N_("Use push instructions to save outgoing arguments") }, \
{ "no-accumulate-outgoing-args",-MASK_ACCUMULATE_OUTGOING_ARGS, \
N_("Do not use push instructions to save outgoing arguments") }, \
- { "mmx", MASK_MMX, N_("Support MMX builtins") }, \
- { "no-mmx", -MASK_MMX, \
- N_("Do not support MMX builtins") }, \
- { "sse", MASK_SSE, \
- N_("Support MMX and SSE builtins") }, \
- { "no-sse", -MASK_SSE, \
- N_("Do not support MMX and SSE builtins") }, \
{ "128bit-long-double", MASK_128BIT_LONG_DOUBLE, \
N_("sizeof(long double) is 16.") }, \
{ "96bit-long-double", -MASK_128BIT_LONG_DOUBLE, \
N_("sizeof(long double) is 12.") }, \