[Lunar-commits] r22390 - in moonbase/trunk/compilers: gcc/plugin.d gcc4/plugin.d

Auke Kok sofar at lunar-linux.org
Sat Dec 2 05:49:52 CET 2006


Author: sofar
Date: 2006-12-02 05:49:52 +0100 (Sat, 02 Dec 2006)
New Revision: 22390

Modified:
   moonbase/trunk/compilers/gcc/plugin.d/optimize-gcc_3_4.plugin
   moonbase/trunk/compilers/gcc4/plugin.d/optimize-gcc_4_0.plugin
Log:
x86_64 optimzations can also use mmx/sse/sse2/sse3 etc.


Modified: moonbase/trunk/compilers/gcc/plugin.d/optimize-gcc_3_4.plugin
===================================================================
--- moonbase/trunk/compilers/gcc/plugin.d/optimize-gcc_3_4.plugin	2006-12-02 01:03:26 UTC (rev 22389)
+++ moonbase/trunk/compilers/gcc/plugin.d/optimize-gcc_3_4.plugin	2006-12-02 04:49:52 UTC (rev 22390)
@@ -439,8 +439,8 @@
 			;;
 			xtra)
 				unset OPTIONS
-				case $PLATFORM in 
-					x86)
+				case $PLATFORM in
+					x86|x86_64)
 						if grep -qw mmx /proc/cpuinfo; then
 							OPTIONS=(
 								${OPTIONS[@]}

Modified: moonbase/trunk/compilers/gcc4/plugin.d/optimize-gcc_4_0.plugin
===================================================================
--- moonbase/trunk/compilers/gcc4/plugin.d/optimize-gcc_4_0.plugin	2006-12-02 01:03:26 UTC (rev 22389)
+++ moonbase/trunk/compilers/gcc4/plugin.d/optimize-gcc_4_0.plugin	2006-12-02 04:49:52 UTC (rev 22390)
@@ -439,8 +439,8 @@
 			;;
 			xtra)
 				unset OPTIONS
-				case $PLATFORM in 
-					x86)
+				case $PLATFORM in
+					x86|x86_64)
 						if grep -qw mmx /proc/cpuinfo; then
 							OPTIONS=(
 								${OPTIONS[@]}



More information about the Lunar-commits mailing list