This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

[Patch] Small mips.c patch


I've just checked this patch in:

2001-11-28  Eric Christopher  <echristo@redhat.com>

	* config/mips/mips.c (override_options): Fix thinko in mips_tune
	for mips32/mips64. Remove MASK_SOFT_FLOAT configuration bits.

config.gcc handles the soft float config.

-- 
Fridays are not "pants optional"

Index: mips.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mips/mips.c,v
retrieving revision 1.166
diff -u -p -w -r1.166 mips.c
--- mips.c	2001/11/16 02:26:42	1.166
+++ mips.c	2001/11/29 07:37:09
@@ -4980,12 +4980,12 @@ override_options ()
 	  mips_tune = PROCESSOR_R8000;
 	  break;
 	case 32:
-	  mips_arch_string = "4kc";
-	  mips_arch = PROCESSOR_R4KC;
+	  mips_tune_string = "4kc";
+	  mips_tune = PROCESSOR_R4KC;
 	  break;
 	case 64:
-	  mips_arch_string = "5kc";
-	  mips_arch = PROCESSOR_R5KC;
+	  mips_tune_string = "5kc";
+	  mips_tune = PROCESSOR_R5KC;
 	  break;
 	}
 
@@ -4999,14 +4999,6 @@ override_options ()
 	  mips_tune_string = "default";
 	}
     }
-
-  /* Handle processor configuration based on architecture.  */
-  if (TARGET_MIPS4100
-      || TARGET_MIPS3900
-      || TARGET_MIPS4KC
-      || TARGET_MIPS5KC)
-    target_flags |= MASK_SOFT_FLOAT;
-
 
   if ((mips_arch == PROCESSOR_R3000 && (mips_isa != 1))
       || (mips_arch == PROCESSOR_R4KC && mips_isa != 32)


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