public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] catalyst r1279 - in trunk: . arch
@ 2008-02-06 22:57 Chris Gianelloni (wolf31o2)
  0 siblings, 0 replies; only message in thread
From: Chris Gianelloni (wolf31o2) @ 2008-02-06 22:57 UTC (permalink / raw
  To: gentoo-commits

Author: wolf31o2
Date: 2008-02-06 22:57:55 +0000 (Wed, 06 Feb 2008)
New Revision: 1279

Modified:
   trunk/ChangeLog
   trunk/arch/amd64.py
   trunk/arch/x86.py
Log:
Did a little cleanup on the x86.py to remove some redundant entries and added nocona and core2 to amd64.py, though they're currently commented out.

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-02-06 22:47:00 UTC (rev 1278)
+++ trunk/ChangeLog	2008-02-06 22:57:55 UTC (rev 1279)
@@ -1,6 +1,11 @@
 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Id: $
 
+  06 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org> arch/amd64.py,
+  arch/x86.py:
+  Did a little cleanup on the x86.py to remove some redundant entries and
+  added nocona and core2 to amd64.py, though they're currently commented out.
+
   06 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org>
   modules/generic_stage_target.py:
   Write out HOSTUSE settings from arch/*.py to make.conf as well as any USE

Modified: trunk/arch/amd64.py
===================================================================
--- trunk/arch/amd64.py	2008-02-06 22:47:00 UTC (rev 1278)
+++ trunk/arch/amd64.py	2008-02-06 22:57:55 UTC (rev 1279)
@@ -14,6 +14,18 @@
 		self.settings["CFLAGS"]="-O2 -pipe"
 		self.settings["CHOST"]="x86_64-pc-linux-gnu"
 
+#class arch_nocona(generic_x86):
+#	def __init__(self,myspec):
+#		generic_amd64.__init__(self,myspec)
+#		self.settings["CFLAGS"]="-O2 -march=nocona -pipe"
+#		self.settings["HOSTUSE"]=["mmx","sse","sse2"]
+
+#class arch_core2(generic_x86):
+#	def __init__(self,myspec):
+#		generic_amd64.__init__(self,myspec)
+#		self.settings["CFLAGS"]="-O2 -march=core2 -pipe"
+#		self.settings["HOSTUSE"]=["mmx","sse","sse2"]
+
 def register():
 	"Inform main catalyst program of the contents of this plugin."
 	return ({"amd64":arch_amd64}, ("x86_64", ))

Modified: trunk/arch/x86.py
===================================================================
--- trunk/arch/x86.py	2008-02-06 22:47:00 UTC (rev 1278)
+++ trunk/arch/x86.py	2008-02-06 22:57:55 UTC (rev 1279)
@@ -39,12 +39,6 @@
 		self.settings["CFLAGS"]="-O2 -march=i586 -pipe"
 		self.settings["CHOST"]="i586-pc-linux-gnu"
 
-class arch_pentium_mmx(arch_i586):
-	def __init__(self,myspec):
-		arch_i586.__init__(self,myspec)
-		self.settings["CFLAGS"]="-O2 -march=pentium-mmx -pipe"
-		self.settings["HOSTUSE"]=["mmx"]
-	
 class arch_i686(generic_x86):
 	def __init__(self,myspec):
 		generic_x86.__init__(self,myspec)
@@ -59,51 +53,58 @@
 		self.settings["HOSTUSE"]=["mmx","3dnow"]
 
 class arch_athlon_xp(generic_x86):
-	# This handles XP and MP processors
 	def __init__(self,myspec):
 		generic_x86.__init__(self,myspec)
 		self.settings["CFLAGS"]="-O2 -march=athlon-xp -pipe"
 		self.settings["CHOST"]="i686-pc-linux-gnu"
 		self.settings["HOSTUSE"]=["mmx","3dnow","sse"]
 
+class arch_pentium_mmx(arch_i586):
+	def __init__(self,myspec):
+		arch_i586.__init__(self,myspec)
+		self.settings["CFLAGS"]="-O2 -march=pentium-mmx -pipe"
+		self.settings["HOSTUSE"]=["mmx"]
+	
+class arch_pentium2(generic_x86):
+	def __init__(self,myspec):
+		arch_i686.__init__(self,myspec)
+		self.settings["CFLAGS"]="-O2 -march=pentium2 -pipe"
+		self.settings["HOSTUSE"]=["mmx"]
+
 class arch_pentium3(generic_x86):
 	def __init__(self,myspec):
-		generic_x86.__init__(self,myspec)
+		arch_i686.__init__(self,myspec)
 		self.settings["CFLAGS"]="-O2 -march=pentium3 -pipe"
-		self.settings["CHOST"]="i686-pc-linux-gnu"
 		self.settings["HOSTUSE"]=["mmx","sse"]
 
 class arch_pentium4(generic_x86):
 	def __init__(self,myspec):
-		generic_x86.__init__(self,myspec)
+		arch_i686.__init__(self,myspec)
 		self.settings["CFLAGS"]="-O2 -march=pentium4 -pipe"
-		self.settings["CHOST"]="i686-pc-linux-gnu"
 		self.settings["HOSTUSE"]=["mmx","sse"]
 
 class arch_prescott(generic_x86):
 	def __init__(self,myspec):
-		generic_x86.__init__(self,myspec)
+		arch_i686.__init__(self,myspec)
 		self.settings["CFLAGS"]="-O2 -march=prescott -pipe"
-		self.settings["CHOST"]="i686-pc-linux-gnu"
 		self.settings["HOSTUSE"]=["mmx","sse","sse2"]
 
-#class arch_nocona(generic_x86):
-#	def __init__(self,myspec):
-#		generic_x86.__init__(self,myspec)
-#		self.settings["CFLAGS"]="-O2 -march=nocona -pipe"
-#		self.settings["CHOST"]="i686-pc-linux-gnu"
-#		self.settings["HOSTUSE"]=["mmx","sse","sse2"]
-
-#class arch_core2(generic_x86):
-#	def __init__(self,myspec):
-#		generic_x86.__init__(self,myspec)
-#		self.settings["CFLAGS"]="-O2 -march=core2 -pipe"
-#		self.settings["CHOST"]="i686-pc-linux-gnu"
-#		self.settings["HOSTUSE"]=["mmx","sse","sse2"]
-
 def register():
 	"Inform main catalyst program of the contents of this plugin."
-	return ({"pentium4":arch_pentium4,"x86":arch_x86,"i386":arch_i386,"i486":arch_i486,"i586":arch_i586,"i686":arch_i686,"athlon":arch_athlon,
-	"athlon-xp":arch_athlon_xp,"athlon-mp":arch_athlon_xp,"pentium3":arch_pentium3,"pentium-mmx":arch_pentium_mmx,"prescott":arch_prescott},
+	return ({
+		"x86"			: arch_x86,
+		"i386"			: arch_i386,
+		"i486"			: arch_i486,
+		"i586"			: arch_i586,
+		"i686"			: arch_i686,
+		"athlon"		: arch_athlon,
+		"athlon-xp"		: arch_athlon_xp,
+		"athlon-mp"		: arch_athlon_xp,
+		"pentium-mmx"		: arch_pentium_mmx,
+		"pentium2"		: arch_pentium2,
+		"pentium3"		: arch_pentium3,
+		"pentium4"		: arch_pentium4,
+		"prescott"		: arch_prescott
+	},
 	('i386', 'i486', 'i586', 'i686'))
 

-- 
gentoo-commits@lists.gentoo.org mailing list



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

only message in thread, other threads:[~2008-02-06 22:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-06 22:57 [gentoo-commits] catalyst r1279 - in trunk: . arch Chris Gianelloni (wolf31o2)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox