tune-geodelx: added tuning for AMD GeodeLX cpu
authorMarcin Juszkiewicz <hrw@openembedded.org>
Fri, 14 Sep 2007 11:46:06 +0000 (11:46 +0000)
committerMarcin Juszkiewicz <hrw@openembedded.org>
Fri, 14 Sep 2007 11:46:06 +0000 (11:46 +0000)
Starting from GCC 4.3 it will have own -mcpu flag. With older versions
optimizations for AMD K6-2 are best.

conf/machine/include/tune-geodelx.conf [new file with mode: 0644]

diff --git a/conf/machine/include/tune-geodelx.conf b/conf/machine/include/tune-geodelx.conf
new file mode 100644 (file)
index 0000000..335fade
--- /dev/null
@@ -0,0 +1,6 @@
+# Geode CPU has it's own target in GCC 4.3
+# in older versions k6-2 is closest
+#
+TARGET_CC_ARCH = "-march=k6-2"
+PACKAGE_ARCH = "geode"
+