Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master archspecs by Thomas Orgis (5c4b903551b64d7000fcd7eba3e2e5a93561aaab)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Thomas Orgis <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master archspecs by Thomas Orgis (5c4b903551b64d7000fcd7eba3e2e5a93561aaab)
  • Date: Wed, 10 Jan 2007 04:54:47 -0600

GIT changes to master archspecs by Thomas Orgis <sobukus AT sourcemage.org>:

32/ia32/amd/k8/k8_32 | 4 ++--
32/ia32/amd/k8/k8_32_minimal | 11 -----------
32/ia32/generic/x86_64/x86_32 | 4 ++--
32/ia32/generic/x86_64/x86_32_minimal | 11 -----------
32/ia32/intel/em64t/nocona_32 | 6 +++---
32/ia32/intel/em64t/nocona_32_minimal | 11 -----------
32/ia32/intel/x86/pentium-m | 6 +++---
32/ia32/intel/x86/pentium-m_minimal | 11 -----------
32/ia32/intel/x86/pentium-mmx | 2 +-
32/ia32/intel/x86/pentium-mmx_minimal | 9 ---------
32/ia32/intel/x86/pentium2 | 2 +-
32/ia32/intel/x86/pentium2_minimal | 9 ---------
32/ia32/intel/x86/pentium3 | 2 +-
32/ia32/intel/x86/pentium3_minimal | 9 ---------
32/ia32/intel/x86/pentium3m | 4 ++--
32/ia32/intel/x86/pentium3m_minimal | 11 -----------
32/ia32/intel/x86/pentium4 | 4 ++--
32/ia32/intel/x86/pentium4_minimal | 9 ---------
32/ia32/intel/x86/pentium4m | 6 +++---
32/ia32/intel/x86/pentium4m_minimal | 11 -----------
32/ia32/intel/x86/prescott | 4 ++--
64/x86_64/amd/k8/k8_64 | 5 ++---
64/x86_64/amd/k8/k8_64_minimal | 14 --------------
64/x86_64/generic/x86_64/x86_64 | 4 ++--
64/x86_64/generic/x86_64/x86_64_minimal | 13 -------------
64/x86_64/intel/em64t/nocona_64 | 6 +++---
64/x86_64/intel/em64t/nocona_64_minimal | 13 -------------
27 files changed, 29 insertions(+), 172 deletions(-)

New commits:
commit 5c4b903551b64d7000fcd7eba3e2e5a93561aaab
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>

Merging the minmal archspecs with the main ones (omitting unneeded flags)
and clearing unneeded -m64 or -m32 flags.
Some drive-by fixing like enhancing flags for gcc-3.3 since it can handle
most modern -marchs now.
Noted the Core and Core 2 processors in prescott and nocona archs.

diff --git a/32/ia32/amd/k8/k8_32 b/32/ia32/amd/k8/k8_32
index 5445949..bb9c312 100755
--- a/32/ia32/amd/k8/k8_32
+++ b/32/ia32/amd/k8/k8_32
@@ -1,10 +1,10 @@
CPUNAME="AMD Athlon 64, Athlon 64 FX and Opteron (32-bit mode)"
if use_gcc 3.3. ; then
- CFLAGS="-march=athlon-xp -mmmx -mfpmath=sse -msse -msse2 -m3dnow -m32"
+ CFLAGS="-march=athlon-xp"
elif use_gcc2 ; then
CFLAGS="-march=i686"
else
- CFLAGS="-march=k8 -mmmx -mfpmath=sse -msse -msse2 -m3dnow -m32"
+ CFLAGS="-march=k8 -m32"
fi
HOST="i686-pc-linux-gnu"
FAST="-O3"
diff --git a/32/ia32/amd/k8/k8_32_minimal b/32/ia32/amd/k8/k8_32_minimal
deleted file mode 100755
index 5c36ca3..0000000
--- a/32/ia32/amd/k8/k8_32_minimal
+++ /dev/null
@@ -1,11 +0,0 @@
-CPUNAME="AMD Athlon 64, Athlon 64 FX and Opteron (minimal optimizations;
32-bit mode)"
-if use_gcc 3.3. ; then
- CFLAGS="-march=athlon-xp -m32"
-elif use_gcc2 ; then
- CFLAGS="-march=i686"
-else
- CFLAGS="-march=k8 -m32"
-fi
-HOST="i686-pc-linux-gnu"
-FAST="-O3"
-SMALL="-Os"
diff --git a/32/ia32/generic/x86_64/x86_32 b/32/ia32/generic/x86_64/x86_32
index a2bacb3..6e92a9d 100755
--- a/32/ia32/generic/x86_64/x86_32
+++ b/32/ia32/generic/x86_64/x86_32
@@ -1,10 +1,10 @@
CPUNAME="x86-64, Athlon 64 FX, Opteron and Intel EM64T (32-bit mode)"
if use_gcc 3.3. ; then
- CFLAGS="-march=i686 -mmmx -mfpmath=sse -msse -msse2 -m3dnow -m32"
+ CFLAGS="-march=i686 -mfpmath=sse -msse -msse2"
elif use_gcc2 ; then
CFLAGS="-march=i686"
else
- CFLAGS="-march=x86-64 -mmmx -mfpmath=sse -msse -msse2 -m3dnow -m32"
+ CFLAGS="-march=x86-64 -m32"
fi
HOST="i686-pc-linux-gnu"
FAST="-O3"
diff --git a/32/ia32/generic/x86_64/x86_32_minimal
b/32/ia32/generic/x86_64/x86_32_minimal
deleted file mode 100755
index 9355906..0000000
--- a/32/ia32/generic/x86_64/x86_32_minimal
+++ /dev/null
@@ -1,11 +0,0 @@
-CPUNAME="x86-64, Athlon 64 FX, Opteron and Intel EM64T (minimal
optimizations; 32-bit mode)"
-if use_gcc 3.3. ; then
- CFLAGS="-march=i686 -m32"
-elif use_gcc2 ; then
- CFLAGS="-march=i686"
-else
- CFLAGS="-march=x86-64 -m32"
-fi
-HOST="i686-pc-linux-gnu"
-FAST="-O3"
-SMALL="-Os"
diff --git a/32/ia32/intel/em64t/nocona_32 b/32/ia32/intel/em64t/nocona_32
index c545b19..d248766 100755
--- a/32/ia32/intel/em64t/nocona_32
+++ b/32/ia32/intel/em64t/nocona_32
@@ -1,10 +1,10 @@
-CPUNAME="Intel Extended Memory 64 Technology"
+CPUNAME="Pentium4/Xeon (and Core 2) with EM64T, 32bit mode"
if use_gcc 3.3. ; then
- CFLAGS="-march=pentium4 -mmmx -mfpmath=sse -msse -msse2 -m3dnow -m32"
+ CFLAGS="-march=nocona -m32"
elif use_gcc2 ; then
CFLAGS="-march=i686"
else
- CFLAGS="-march=nocona -mmmx -mfpmath=sse -msse -msse2 -m3dnow -m32"
+ CFLAGS="-march=nocona -m32"
fi
HOST="i686-pc-linux-gnu"
FAST="-O3"
diff --git a/32/ia32/intel/em64t/nocona_32_minimal
b/32/ia32/intel/em64t/nocona_32_minimal
deleted file mode 100755
index 50a7466..0000000
--- a/32/ia32/intel/em64t/nocona_32_minimal
+++ /dev/null
@@ -1,11 +0,0 @@
-CPUNAME="Intel Extended Memory 64 Technology (minimal optimizations)"
-if use_gcc 3.3. ; then
- CFLAGS="-march=pentium4 -m32"
-elif use_gcc2 ; then
- CFLAGS="-march=i686"
-else
- CFLAGS="-march=nocona -m32"
-fi
-HOST="i686-pc-linux-gnu"
-FAST="-O3"
-SMALL="-Os"
diff --git a/32/ia32/intel/x86/pentium-m b/32/ia32/intel/x86/pentium-m
index 5c7cbf9..477f620 100755
--- a/32/ia32/intel/x86/pentium-m
+++ b/32/ia32/intel/x86/pentium-m
@@ -1,10 +1,10 @@
-CPUNAME="Intel Pentium M (Centrino), SSE fpmath"
+CPUNAME="Intel Pentium M (Centrino)"
if use_gcc2; then
CFLAGS="-march=i686"
elif use_gcc 3.3; then
- CFLAGS="-march=pentium3 -mfpmath=sse"
+ CFLAGS="-march=pentium3"
else
- CFLAGS="-march=pentium-m -mfpmath=sse"
+ CFLAGS="-march=pentium-m"
fi
HOST="i686-pc-linux-gnu"
FAST="-O3"
diff --git a/32/ia32/intel/x86/pentium-m_minimal
b/32/ia32/intel/x86/pentium-m_minimal
deleted file mode 100755
index 0ef63ee..0000000
--- a/32/ia32/intel/x86/pentium-m_minimal
+++ /dev/null
@@ -1,11 +0,0 @@
-CPUNAME="Intel Pentium M (Centrino), normal fpmath"
-if use_gcc2; then
- CFLAGS="-march=i686"
-elif use_gcc 3.3; then
- CFLAGS="-march=pentium3"
-else
- CFLAGS="-march=pentium-m"
-fi
-HOST="i686-pc-linux-gnu"
-FAST="-O3"
-SMALL="-Os"
diff --git a/32/ia32/intel/x86/pentium-mmx b/32/ia32/intel/x86/pentium-mmx
index 906f0c2..2a9429f 100755
--- a/32/ia32/intel/x86/pentium-mmx
+++ b/32/ia32/intel/x86/pentium-mmx
@@ -2,7 +2,7 @@ CPUNAME="Intel Pentium with MMX"
if use_gcc2; then
CFLAGS="-march=i586"
else
- CFLAGS="-march=pentium-mmx -mmmx"
+ CFLAGS="-march=pentium-mmx"
fi
HOST="i586-pc-linux-gnu"
FAST="-O2"
diff --git a/32/ia32/intel/x86/pentium-mmx_minimal
b/32/ia32/intel/x86/pentium-mmx_minimal
deleted file mode 100755
index 33f8c5d..0000000
--- a/32/ia32/intel/x86/pentium-mmx_minimal
+++ /dev/null
@@ -1,9 +0,0 @@
-CPUNAME="Intel Pentium with MMX (minimal optimizations)"
-if use_gcc2; then
- CFLAGS="-march=i586"
-else
- CFLAGS="-march=pentium-mmx"
-fi
- HOST="i586-pc-linux-gnu"
- FAST="-O2"
- SMALL="-Os"
diff --git a/32/ia32/intel/x86/pentium2 b/32/ia32/intel/x86/pentium2
index 2015783..b811921 100755
--- a/32/ia32/intel/x86/pentium2
+++ b/32/ia32/intel/x86/pentium2
@@ -2,7 +2,7 @@ CPUNAME="Intel Pentium II"
if use_gcc2; then
CFLAGS="-march=i686"
else
- CFLAGS="-march=pentium2 -mmmx"
+ CFLAGS="-march=pentium2"
fi
HOST="i686-pc-linux-gnu"
FAST="-O3"
diff --git a/32/ia32/intel/x86/pentium2_minimal
b/32/ia32/intel/x86/pentium2_minimal
deleted file mode 100755
index 4453ee2..0000000
--- a/32/ia32/intel/x86/pentium2_minimal
+++ /dev/null
@@ -1,9 +0,0 @@
-CPUNAME="Intel Pentium II (minimal optimizations)"
-if use_gcc2; then
- CFLAGS="-march=i686"
-else
- CFLAGS="-march=pentium2"
-fi
- HOST="i686-pc-linux-gnu"
- FAST="-O3"
- SMALL="-Os"
diff --git a/32/ia32/intel/x86/pentium3 b/32/ia32/intel/x86/pentium3
index 33380f7..8338ac9 100755
--- a/32/ia32/intel/x86/pentium3
+++ b/32/ia32/intel/x86/pentium3
@@ -2,7 +2,7 @@ CPUNAME="Intel Pentium III"
if use_gcc2; then
CFLAGS="-march=i686"
else
- CFLAGS="-march=pentium3 -mmmx -mfpmath=sse -msse"
+ CFLAGS="-march=pentium3"
fi
HOST="i686-pc-linux-gnu"
FAST="-O3"
diff --git a/32/ia32/intel/x86/pentium3_minimal
b/32/ia32/intel/x86/pentium3_minimal
deleted file mode 100755
index e3283d4..0000000
--- a/32/ia32/intel/x86/pentium3_minimal
+++ /dev/null
@@ -1,9 +0,0 @@
-CPUNAME="Intel Pentium III (minimal optimizations)"
-if use_gcc2; then
- CFLAGS="-march=i686"
-else
- CFLAGS="-march=pentium3"
-fi
- HOST="i686-pc-linux-gnu"
- FAST="-O3"
- SMALL="-Os"
diff --git a/32/ia32/intel/x86/pentium3m b/32/ia32/intel/x86/pentium3m
index b01f9da..a4d63d0 100755
--- a/32/ia32/intel/x86/pentium3m
+++ b/32/ia32/intel/x86/pentium3m
@@ -2,9 +2,9 @@ CPUNAME="Intel mobile Pentium III-M"
if use_gcc2; then
CFLAGS="-march=i686"
elif use_gcc 3.3; then
- CFLAGS="-march=pentium3 -mmmx -mfpmath=sse -msse"
+ CFLAGS="-march=pentium3"
else
- CFLAGS="-march=pentium3m -mmmx -mfpmath=sse -msse"
+ CFLAGS="-march=pentium3m"
fi
HOST="i686-pc-linux-gnu"
FAST="-O3"
diff --git a/32/ia32/intel/x86/pentium3m_minimal
b/32/ia32/intel/x86/pentium3m_minimal
deleted file mode 100755
index e967ad3..0000000
--- a/32/ia32/intel/x86/pentium3m_minimal
+++ /dev/null
@@ -1,11 +0,0 @@
-CPUNAME="Intel mobile Pentium III-M (minimal optimizations)"
-if use_gcc2; then
- CFLAGS="-march=i686"
-elif use_gcc 3.3; then
- CFLAGS="-march=pentium3"
-else
- CFLAGS="-march=pentium3m"
-fi
- HOST="i686-pc-linux-gnu"
- FAST="-O3"
- SMALL="-Os"
diff --git a/32/ia32/intel/x86/pentium4 b/32/ia32/intel/x86/pentium4
index fd68f8f..7386081 100755
--- a/32/ia32/intel/x86/pentium4
+++ b/32/ia32/intel/x86/pentium4
@@ -1,8 +1,8 @@
-CPUNAME="Intel Pentium IV"
+CPUNAME="Intel Pentium 4"
if use_gcc2; then
CFLAGS="-march=i686"
else
- CFLAGS="-march=pentium4 -mmmx -mfpmath=sse -msse -msse2"
+ CFLAGS="-march=pentium4"
fi
HOST="i686-pc-linux-gnu"
FAST="-O3"
diff --git a/32/ia32/intel/x86/pentium4_minimal
b/32/ia32/intel/x86/pentium4_minimal
deleted file mode 100755
index 83f9214..0000000
--- a/32/ia32/intel/x86/pentium4_minimal
+++ /dev/null
@@ -1,9 +0,0 @@
-CPUNAME="Intel Pentium IV (minimal optimizations)"
-if use_gcc2; then
- CFLAGS="-march=i686"
-else
- CFLAGS="-march=pentium4"
-fi
- HOST="i686-pc-linux-gnu"
- FAST="-O3"
- SMALL="-Os"
diff --git a/32/ia32/intel/x86/pentium4m b/32/ia32/intel/x86/pentium4m
index e1af73a..7d635d9 100755
--- a/32/ia32/intel/x86/pentium4m
+++ b/32/ia32/intel/x86/pentium4m
@@ -1,10 +1,10 @@
-CPUNAME="Intel Pentium IV mobile"
+CPUNAME="Intel Pentium 4 mobile"
if use_gcc2; then
CFLAGS="-march=i686"
elif use_gcc 3.3; then
- CFLAGS="-march=pentium4 -mmmx -mfpmath=sse -msse -msse2"
+ CFLAGS="-march=pentium4"
else
- CFLAGS="-march=pentium4m -mmmx -mfpmath=sse -msse -msse2"
+ CFLAGS="-march=pentium4m"
fi
HOST="i686-pc-linux-gnu"
FAST="-O3"
diff --git a/32/ia32/intel/x86/pentium4m_minimal
b/32/ia32/intel/x86/pentium4m_minimal
deleted file mode 100755
index 97b63b5..0000000
--- a/32/ia32/intel/x86/pentium4m_minimal
+++ /dev/null
@@ -1,11 +0,0 @@
-CPUNAME="Intel Pentium IV mobile (minimal optimizaitons)"
-if use_gcc2; then
- CFLAGS="-march=i686"
-elif use_gcc 3.3; then
- CFLAGS="-march=pentium4"
-else
- CFLAGS="-march=pentium4m"
-fi
- HOST="i686-pc-linux-gnu"
- FAST="-O3"
- SMALL="-Os"
diff --git a/32/ia32/intel/x86/prescott b/32/ia32/intel/x86/prescott
index 4ebadfc..e5b4ed1 100755
--- a/32/ia32/intel/x86/prescott
+++ b/32/ia32/intel/x86/prescott
@@ -1,8 +1,8 @@
-CPUNAME="Intel Pentium IV (Prescott)"
+CPUNAME="Intel Pentium 4 (Prescott) and Core"
if use_gcc2; then
CFLAGS="-march=i686"
else
- CFLAGS="-march=prescott -mmmx -mfpmath=sse -msse -msse2 -msse3"
+ CFLAGS="-march=prescott"
fi
HOST="i686-pc-linux-gnu"
FAST="-O3"
diff --git a/64/x86_64/amd/k8/k8_64 b/64/x86_64/amd/k8/k8_64
index 3bf9f22..1f1e0f6 100755
--- a/64/x86_64/amd/k8/k8_64
+++ b/64/x86_64/amd/k8/k8_64
@@ -1,14 +1,13 @@
CPUNAME="AMD Athlon 64, Athlon 64 FX and Opteron"

if use_gcc 3.3. ; then
- CFLAGS="-mmmx -mfpmath=sse -msse -msse2 -m3dnow"
+ CFLAGS="-march=x86-64 -fPIC -DPIC"
elif use_gcc2 ; then
CFLAGS="-march=i686"
else
- CFLAGS="-march=k8 -mfpmath=sse -msse -msse2 -m3dnow -fPIC -DPIC"
+ CFLAGS="-march=k8 -fPIC -DPIC"
fi

HOST="x86_64-pc-linux-gnu"
FAST="-O3"
SMALL="-Os"
-
diff --git a/64/x86_64/amd/k8/k8_64_minimal b/64/x86_64/amd/k8/k8_64_minimal
deleted file mode 100755
index 50da58a..0000000
--- a/64/x86_64/amd/k8/k8_64_minimal
+++ /dev/null
@@ -1,14 +0,0 @@
-CPUNAME="AMD Athlon 64, Athlon 64 FX and Opteron (minimal optimizations)"
-if use_gcc 3.3. ; then
- CFLAGS=""
-# gcc2 won't actually do any 64 bit compiling
-elif use_gcc2 ; then
- CFLAGS="-march=i686"
-else
- CFLAGS="-march=k8 -fPIC -DPIC"
-fi
-
-HOST="x86_64-pc-linux-gnu"
-FAST="-O3"
-SMALL="-Os"
-
diff --git a/64/x86_64/generic/x86_64/x86_64 b/64/x86_64/generic/x86_64/x86_64
index 0618832..ce17727 100755
--- a/64/x86_64/generic/x86_64/x86_64
+++ b/64/x86_64/generic/x86_64/x86_64
@@ -1,11 +1,11 @@
CPUNAME="x86-64, Athlon 64 FX, Opteron and Intel EM64T"

if use_gcc 3.3. ; then
- CFLAGS="-mmmx -mfpmath=sse -msse -msse2 -m3dnow"
+ CFLAGS="-march=x86-64 -fPIC -DPIC"
elif use_gcc2 ; then
CFLAGS="-march=i686"
else
- CFLAGS="-march=x86-64 -mmmx -mfpmath=sse -msse -msse2 -m3dnow -fPIC -DPIC"
+ CFLAGS="-march=x86-64 -fPIC -DPIC"
fi

HOST="x86_64-pc-linux-gnu"
diff --git a/64/x86_64/generic/x86_64/x86_64_minimal
b/64/x86_64/generic/x86_64/x86_64_minimal
deleted file mode 100755
index 98ae370..0000000
--- a/64/x86_64/generic/x86_64/x86_64_minimal
+++ /dev/null
@@ -1,13 +0,0 @@
-CPUNAME="x86-64, Athlon 64 FX, Opteron and Intel EM64T (minimal
optimizations)"
-
-if use_gcc 3.3. ; then
- CFLAGS=""
-elif use_gcc2 ; then
- CFLAGS="-march=i686"
-else
- CFLAGS="-march=x86-64 -fPIC -DPIC"
-fi
-
-HOST="x86_64-pc-linux-gnu"
-FAST="-O3"
-SMALL="-Os"
diff --git a/64/x86_64/intel/em64t/nocona_64 b/64/x86_64/intel/em64t/nocona_64
index 72666be..148cf8f 100755
--- a/64/x86_64/intel/em64t/nocona_64
+++ b/64/x86_64/intel/em64t/nocona_64
@@ -1,11 +1,11 @@
-CPUNAME="Intel Extended Memory 64 Technology"
+CPUNAME="Pentium4/Xeon (and Core2) with EM64T"

if use_gcc 3.3. ; then
- CFLAGS="-mmmx -mfpmath=sse -msse -msse2 -m3dnow"
+ CFLAGS="-march=nocona -fPIC -DPIC"
elif use_gcc2 ; then
CFLAGS="-march=i686"
else
- CFLAGS="-march=nocona -mmmx -mfpmath=sse -msse -msse2 -m3dnow -fPIC -DPIC"
+ CFLAGS="-march=nocona -fPIC -DPIC"
fi

HOST="x86_64-pc-linux-gnu"
diff --git a/64/x86_64/intel/em64t/nocona_64_minimal
b/64/x86_64/intel/em64t/nocona_64_minimal
deleted file mode 100755
index b32a0c3..0000000
--- a/64/x86_64/intel/em64t/nocona_64_minimal
+++ /dev/null
@@ -1,13 +0,0 @@
-CPUNAME="Intel Extended Memory 64 Technology (minimal optimizations)"
-
-if use_gcc 3.3. ; then
- CFLAGS=""
-elif use_gcc2 ; then
- CFLAGS="-march=i686"
-else
- CFLAGS="-march=nocona -fPIC -DPIC"
-fi
-
-HOST="x86_64-pc-linux-gnu"
-FAST="-O3"
-SMALL="-Os"



  • [SM-Commit] GIT changes to master archspecs by Thomas Orgis (5c4b903551b64d7000fcd7eba3e2e5a93561aaab), Thomas Orgis, 01/10/2007

Archive powered by MHonArc 2.6.24.

Top of Page