Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Thomas Orgis (6350d962dfaaa0ddf80c67bd97078dea76598e51)

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 grimoire by Thomas Orgis (6350d962dfaaa0ddf80c67bd97078dea76598e51)
  • Date: Sat, 24 Mar 2007 10:57:32 -0500

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

utils/qemu/BUILD | 8 ++++++--
utils/qemu/HISTORY | 4 ++++
2 files changed, 10 insertions(+), 2 deletions(-)

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

change the qemu CFLAGS hack:
pentium* -> pentium-mmx
athlon* -> k6-3

diff --git a/utils/qemu/BUILD b/utils/qemu/BUILD
index 90f81e0..5c48d70 100755
--- a/utils/qemu/BUILD
+++ b/utils/qemu/BUILD
@@ -10,12 +10,16 @@ if grep -q softmmu <<< "$QEMU_ARCHS"; th
message "${MESSAGE_COLOR}Trying to make it work, starting with removal of
any sse flags.${DEFAULT_COLOR}" &&
# sse seems to be bad; -march=pentium -m3dnow worked, though
list_remove CFLAGS -msse -msse2 -msse3 -mfpmath=sse &&
- if [[ "$CFLAGS" =~ -march=pentium[^[:space:]]+ ]] ||
- [[ "$CFLAGS" =~ -march=athlon[^[:space:]]* ]]; then
+ if [[ "$CFLAGS" =~ -march=pentium[^[:space:]]+ ]]; then
message "${MESSAGE_COLOR}Reducing your $BASH_REMATCH to
pentium-mmx.${DEFAULT_COLOR}" &&
list_remove CFLAGS $BASH_REMATCH &&
CFLAGS="$CFLAGS -march=pentium-mmx"
fi &&
+ if [[ "$CFLAGS" =~ -march=athlon[^[:space:]]* ]]; then
+ message "${MESSAGE_COLOR}Reducing your $BASH_REMATCH to
k6-3.${DEFAULT_COLOR}" &&
+ list_remove CFLAGS $BASH_REMATCH &&
+ CFLAGS="$CFLAGS -march=k6-3"
+ fi &&
disable_pic
fi &&

diff --git a/utils/qemu/HISTORY b/utils/qemu/HISTORY
index 263ed39..8b6cfda 100644
--- a/utils/qemu/HISTORY
+++ b/utils/qemu/HISTORY
@@ -1,3 +1,7 @@
+2007-03-24 Thomas Orgis <sobukus AT sourcemage.org>
+ * BUILD: a refinement: reduce athlons to k6-3 as that works, too, and
+ performs better than pentium-mmx for these cpus
+
2007-03-17 Thomas Orgis <sobukus AT sourcemage.org>
* BUILD: more general CFLAGS fixup to reduce more stuff to
pentium-mmx and fix bug 13596




  • [SM-Commit] GIT changes to master grimoire by Thomas Orgis (6350d962dfaaa0ddf80c67bd97078dea76598e51), Thomas Orgis, 03/24/2007

Archive powered by MHonArc 2.6.24.

Top of Page