This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: -mmmx and -msse are broken [unreviewed patch attached - 3.0 regression]


>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.") },					      \


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]