Commit 7028f93b authored by Monty's avatar Monty
Browse files

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

svn path=/trunk/vorbis/; revision=17020
parent 09283189
......@@ -172,6 +172,10 @@ else
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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment