Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master archspecs by sandalle (8f29788d595401c5574782132fd3026ef622aaf4)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: sandalle <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master archspecs by sandalle (8f29788d595401c5574782132fd3026ef622aaf4)
  • Date: Mon, 16 Mar 2009 02:59:17 -0500

GIT changes to master archspecs by sandalle <sandalle@pangomer.(none)>:

32/ia32/intel/em64t/core2_32 | 15 +++++++++++++++
32/ia32/intel/em64t/nocona_32 | 2 +-
64/x86_64/intel/em64t/core2_64 | 16 ++++++++++++++++
64/x86_64/intel/em64t/nocona_64 | 2 +-
4 files changed, 33 insertions(+), 2 deletions(-)

New commits:
commit 8f29788d595401c5574782132fd3026ef622aaf4
Author: sandalle <sandalle@pangomer.(none)>
Commit: sandalle <sandalle@pangomer.(none)>

nocona is Intel, mention it in the CPU description

commit e0243006b0f9c4736f114f27f11c654509b9eb26
Author: sandalle <sandalle@pangomer.(none)>
Commit: sandalle <sandalle@pangomer.(none)>

Add Intel Core 2 specific spec files (Bug #14621)

This moves the Core 2 support from nocona (lower class processor to the
Core 2) to its own file. GCC 4.3.x+ supports -march=core2.

diff --git a/32/ia32/intel/em64t/core2_32 b/32/ia32/intel/em64t/core2_32
new file mode 100755
index 0000000..882f87a
--- /dev/null
+++ b/32/ia32/intel/em64t/core2_32
@@ -0,0 +1,15 @@
+CPUNAME="Intel Core 2 with EM64T, 32bit mode"
+
+if use_gcc 4.3. ; then
+ CFLAGS="-march=core2 -m32"
+elif use_gcc 3.3. ; then
+ CFLAGS="-march=nocona -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/em64t/nocona_32 b/32/ia32/intel/em64t/nocona_32
index d248766..8bf03d9 100755
--- a/32/ia32/intel/em64t/nocona_32
+++ b/32/ia32/intel/em64t/nocona_32
@@ -1,4 +1,4 @@
-CPUNAME="Pentium4/Xeon (and Core 2) with EM64T, 32bit mode"
+CPUNAME="Intel Pentium4/Xeon with EM64T, 32bit mode"
if use_gcc 3.3. ; then
CFLAGS="-march=nocona -m32"
elif use_gcc2 ; then
diff --git a/64/x86_64/intel/em64t/core2_64 b/64/x86_64/intel/em64t/core2_64
new file mode 100755
index 0000000..f4ffaac
--- /dev/null
+++ b/64/x86_64/intel/em64t/core2_64
@@ -0,0 +1,16 @@
+CPUNAME="Intel Core 2 with EM64T"
+
+if use_gcc 4.3. ; then
+ CFLAGS="-march=core2 -fPIC -DPIC"
+elif use_gcc 3.3. ; then
+ CFLAGS="-march=nocona -fPIC -DPIC"
+elif use_gcc2 ; then
+ CFLAGS="-march=i686"
+else
+ CFLAGS="-march=nocona -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 148cf8f..e571f71 100755
--- a/64/x86_64/intel/em64t/nocona_64
+++ b/64/x86_64/intel/em64t/nocona_64
@@ -1,4 +1,4 @@
-CPUNAME="Pentium4/Xeon (and Core2) with EM64T"
+CPUNAME="Intel Pentium4/Xeon with EM64T"

if use_gcc 3.3. ; then
CFLAGS="-march=nocona -fPIC -DPIC"




Archive powered by MHonArc 2.6.24.

Top of Page