Skip to Content.
Sympa Menu

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

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 (78bd82efedfe174882a4add6238050d20b2ff448)
  • Date: Tue, 28 Nov 2006 06:31:42 -0600

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

64/x86_64/amd/k8/k8_64 | 4 ++--
64/x86_64/amd/k8/k8_64_minimal | 6 +++---
64/x86_64/generic/x86_64/x86_64 | 4 ++--
64/x86_64/generic/x86_64/x86_64_minimal | 5 ++---
64/x86_64/intel/em64t/nocona_64 | 4 ++--
64/x86_64/intel/em64t/nocona_64_minimal | 5 ++---
6 files changed, 13 insertions(+), 15 deletions(-)

New commits:
commit 78bd82efedfe174882a4add6238050d20b2ff448
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>

being straight and applying the 64 bit tidyness here too:
- no -m64; the HOST should trigger build a 64 bit compiler, that one
doesn't need -m64
- not using 32 bit march on 64 bit
- but not yet deleting gcc2 entry, despite of realizing that the HOST
setting would mess up there in addition of it gcc2 being useless in pure 64
bit

commit 585186f6cc76070c14132fdf93f0d4d567e0c066
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>

applied suggestions from bug 10198; removing possibly counterproductive
flags (march=athlon-xp; forced m64) for k8_64 ...

diff --git a/64/x86_64/amd/k8/k8_64 b/64/x86_64/amd/k8/k8_64
index 50c8199..3bf9f22 100755
--- a/64/x86_64/amd/k8/k8_64
+++ b/64/x86_64/amd/k8/k8_64
@@ -1,11 +1,11 @@
CPUNAME="AMD Athlon 64, Athlon 64 FX and Opteron"

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

HOST="x86_64-pc-linux-gnu"
diff --git a/64/x86_64/amd/k8/k8_64_minimal b/64/x86_64/amd/k8/k8_64_minimal
index 1a4aa9a..50da58a 100755
--- a/64/x86_64/amd/k8/k8_64_minimal
+++ b/64/x86_64/amd/k8/k8_64_minimal
@@ -1,11 +1,11 @@
CPUNAME="AMD Athlon 64, Athlon 64 FX and Opteron (minimal optimizations)"
-
if use_gcc 3.3. ; then
- CFLAGS="-march=athlon-xp -m64"
+ CFLAGS=""
+# gcc2 won't actually do any 64 bit compiling
elif use_gcc2 ; then
CFLAGS="-march=i686"
else
- CFLAGS="-march=k8 -m64 -fPIC -DPIC"
+ CFLAGS="-march=k8 -fPIC -DPIC"
fi

HOST="x86_64-pc-linux-gnu"
diff --git a/64/x86_64/generic/x86_64/x86_64 b/64/x86_64/generic/x86_64/x86_64
index 86b8089..0618832 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="-march=i686 -mmmx -mfpmath=sse -msse -msse2 -m3dnow -m64"
+ CFLAGS="-mmmx -mfpmath=sse -msse -msse2 -m3dnow"
elif use_gcc2 ; then
CFLAGS="-march=i686"
else
- CFLAGS="-march=x86-64 -mmmx -mfpmath=sse -msse -msse2 -m3dnow -m64 -fPIC
-DPIC"
+ CFLAGS="-march=x86-64 -mmmx -mfpmath=sse -msse -msse2 -m3dnow -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
index 534980c..98ae370 100755
--- a/64/x86_64/generic/x86_64/x86_64_minimal
+++ b/64/x86_64/generic/x86_64/x86_64_minimal
@@ -1,14 +1,13 @@
CPUNAME="x86-64, Athlon 64 FX, Opteron and Intel EM64T (minimal
optimizations)"

if use_gcc 3.3. ; then
- CFLAGS="-march=i686 -m64"
+ CFLAGS=""
elif use_gcc2 ; then
CFLAGS="-march=i686"
else
- CFLAGS="-march=x86-64 -m64 -fPIC -DPIC"
+ 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 caf41e2..72666be 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"

if use_gcc 3.3. ; then
- CFLAGS="-march=pentium4 -mmmx -mfpmath=sse -msse -msse2 -m3dnow -m64"
+ CFLAGS="-mmmx -mfpmath=sse -msse -msse2 -m3dnow"
elif use_gcc2 ; then
CFLAGS="-march=i686"
else
- CFLAGS="-march=nocona -mmmx -mfpmath=sse -msse -msse2 -m3dnow -m64 -fPIC
-DPIC"
+ CFLAGS="-march=nocona -mmmx -mfpmath=sse -msse -msse2 -m3dnow -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
index 565a788..b32a0c3 100755
--- a/64/x86_64/intel/em64t/nocona_64_minimal
+++ b/64/x86_64/intel/em64t/nocona_64_minimal
@@ -1,14 +1,13 @@
CPUNAME="Intel Extended Memory 64 Technology (minimal optimizations)"

if use_gcc 3.3. ; then
- CFLAGS="-march=pentium4 -m64"
+ CFLAGS=""
elif use_gcc2 ; then
CFLAGS="-march=i686"
else
- CFLAGS="-march=nocona -m64 -fPIC -DPIC"
+ 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 (78bd82efedfe174882a4add6238050d20b2ff448), Thomas Orgis, 11/28/2006

Archive powered by MHonArc 2.6.24.

Top of Page