[xiph-commits] r17020 - trunk/vorbis

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Wed Mar 24 02:27:43 PDT 2010


Author: xiphmont
Date: 2010-03-24 02:27:43 -0700 (Wed, 24 Mar 2010)
New Revision: 17020

Modified:
   trunk/vorbis/configure.ac
Log:
On powerpc-unknown-linux-gnuspe SPE is used for floating point. 
-mcpu=970 disables the usage of the SPU unit and enables the "normal" 
floating
point unit. This results either in slow code (kernel floating point 
emulation)
or in SIGILL.

Closes #1614


Modified: trunk/vorbis/configure.ac
===================================================================
--- trunk/vorbis/configure.ac	2010-03-24 09:25:23 UTC (rev 17019)
+++ trunk/vorbis/configure.ac	2010-03-24 09:27:43 UTC (rev 17020)
@@ -172,6 +172,10 @@
   		CFLAGS=${OPT}" -D__NO_MATH_INLINES"
   		PROFILE=${PROFILE}" -D__NO_MATH_INLINES"
   		fi;;
+        powerpc-*-linux*spe) 
+ 	        DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES" 
+ 	        CFLAGS="-O3 -Wall -Wextra -ffast-math -mfused-madd -D_REENTRANT" 
+ 	        PROFILE="-pg -g -O3 -ffast-math -mfused-madd -D_REENTRANT";; 
 	powerpc-*-linux*)
 		DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES"
 		CFLAGS="-O3 -Wall -Wextra -ffast-math -mfused-madd -mcpu=750 -D_REENTRANT"



More information about the commits mailing list