public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Fwd: Add in Pentium III & Pentium 4 to config.sub
@ 2003-05-20 14:00 Kelley Cook
  0 siblings, 0 replies; only message in thread
From: Kelley Cook @ 2003-05-20 14:00 UTC (permalink / raw)
  To: gcc; +Cc: Ben Elliston, Joseph S. Myers

[-- Attachment #1: Type: text/plain, Size: 1312 bytes --]

---- Forwarded e-mail ----
From: Ben Elliston [mailto:bje@wasabisystems.com]
Sent: Monday, May 19, 2003 5:09 PM
To: Cook, Kelley (R.K.)
Subject: Re: Add in Pentium III & Pentium 4 to config.sub


"Cook, Kelley (R.K.)" <kcook34@ford.com> writes:

 > Did this change get missed in todays upload of config.{guess,sub}?
 > Config.guess seems to be changed, but not config.sub.

I have not applied your patch, as I was waiting for an answer to:

 > I wonder, though, why GCC people have not already requested such a
 > change a long time ago?  They would need it for a Pentium III tuned
 > compiler, for example.

Ben
---- Forwared e-mail ----

GCC team,

Is this config.sub patch which defines pentiumiii & pentium3 to be
aliases for i686 and pentium4 to be an alias for i786 acceptable to
your group?  A google search shows that a similar change was suggested
a post by Joseph Myers two years ago when Jan Hubicka first added
Pentium 4 support.

http://gcc.gnu.org/ml/gcc-patches/2001-02/msg01651.html

Is this the correct patch?

FWIW, the toplevel and binutils patches that allow them to use
i786-*-* have already been installed and I have posted a libiberty patch for
approval.  I apologize for that since I misunderstood Ben's initial response
to be an approval with an added rhetorical question.

Kelley Cook


[-- Attachment #2: config.sub.diff --]
[-- Type: text/plain, Size: 866 bytes --]

--- config.sub.orig	2003-05-12 12:44:54.000000000 -0400
+++ config.sub	2003-05-12 12:44:38.000000000 -0400
@@ -771,18 +771,24 @@
 	pentiumpro | p6 | 6x86 | athlon | athlon_*)
 		basic_machine=i686-pc
 		;;
-	pentiumii | pentium2)
+	pentiumii | pentium2 | pentiumiii | pentium3)
 		basic_machine=i686-pc
 		;;
+	pentium4)
+		basic_machine=i786-pc
+		;;
 	pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
 		basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
 		;;
 	pentiumpro-* | p6-* | 6x86-* | athlon-*)
 		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
 		;;
-	pentiumii-* | pentium2-*)
+	pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
 		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
 		;;
+	pentium4-*)
+		basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
+		;;
 	pn)
 		basic_machine=pn-gould
 		;;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-20 13:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-20 14:00 Fwd: Add in Pentium III & Pentium 4 to config.sub Kelley Cook

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).