aboutsummaryrefslogtreecommitdiff
path: root/externals/build/linux
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-05-28 04:34:43 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-05-28 04:34:43 +0000
commit0b895201efafe221b4c696e9ee87c55f695f3c8b (patch)
tree389dd7d63849aa27fae46fcf5a2dde53f6a6a7c2 /externals/build/linux
parent24f598b8fa4e76f2a7a3480c55b5294452741194 (diff)
added more optimizition suggestions for various CPUs
svn path=/trunk/; revision=1783
Diffstat (limited to 'externals/build/linux')
-rw-r--r--externals/build/linux/makefile24
1 files changed, 17 insertions, 7 deletions
diff --git a/externals/build/linux/makefile b/externals/build/linux/makefile
index 49675bd9..fe03140d 100644
--- a/externals/build/linux/makefile
+++ b/externals/build/linux/makefile
@@ -12,16 +12,26 @@ all: $(EXTERNALS:.c=.pd_linux)
.SUFFIXES: .pd_linux
+# AMD Athlon XP K7
+#CPU_FLAGS = -O3 -march=athlon-xp -m3dnow -msse -mfpmath=sse
+
+# Generic i386 (tune for 686, since that's about the bottom these days)
+CPU_FLAGS = -O2 -mcpu=i686
# Pentium III or better
-#CPU_FLAGS = -march=pentium3
-# PowerPC G3
-#CPU_FLAGS = -mpowerpc-gpopt
-# PowerPC G4
-#CPU_FLAGS = -mpowerpc-gpopt -mcpu=7450 -maltivec
+#CPU_FLAGS = -O3 -march=pentium3
+# Pentium 4 or better
+#CPU_FLAGS = -O3 -march=pentium4
+
+# PowerPC 750 (G3)
+#CPU_FLAGS = -O3 -mpowerpc-gpopt -mcpu=750
+# PowerPC 7400 (G4 <= 700MHz)
+#CPU_FLAGS = -O3 -mpowerpc-gpopt -mcpu=7400 -maltivec
+# PowerPC 7450 (G4 >= 533Mhz)
+#CPU_FLAGS = -O3 -mpowerpc-gpopt -mcpu=7450 -maltivec
# PowerPC G5
-#CPU_FLAGS = -mpowerpc64 -maltivec -falign-functions=32 -falign-labels=32 -falign-loops=32 -falign-jumps=32
+#CPU_FLAGS = -O3 -mpowerpc64 -maltivec -falign-functions=32 -falign-labels=32 -falign-loops=32 -falign-jumps=32
-OPTIM_FLAGS = -O3 -funroll-loops -fomit-frame-pointer $(CPU_FLAGS)
+OPTIM_FLAGS = -funroll-loops -fomit-frame-pointer $(CPU_FLAGS)
CFLAGS = -fPIC -DPD -DUNIX $(OPTIM_FLAGS) \
-Wall -W -Wshadow -Wstrict-prototypes \