Displaying 2 results from an estimated 2 matches for "d_use_altivec".
2004 Aug 06
0
Speex 1.1.4 is out
...r Platform ASM Speedups..."
case "$target" in
i?86*)
CFLAGS="$CFLAGS -D_USE_SSE"
CXXFLAGS="$CXXFLAGS -march=pentium3 -D_USE_SSE"
echo "Found x86 - Adding SSE."
;;
powerpc-apple-darwin*)
CFLAGS="-D_USE_ALTIVEC"
CXXFLAGS="$CXXFLAGS -faltivec -O3 -fPIC -D_USE_ALTIVEC"
echo "Found Altivec"
;;
*)
echo "None Found"
;;
esac
<p>Since speex only uses .c files, 2b is a viable option.
Aron Rosenberg
SightSpeed
At 12:28 PM...
2004 Aug 06
3
Speex 1.1.4 is out
> Is it a problem if all the files are compiled with -march=pentium3
> ? The patch that we sent in already detects in the configure.in script
> which system you are on and sets a define correctly, i.e. _USE_SSE.
Well, if what you want is auto-detection, turning on -march=pentium3
means that the code will crash on anything lower than a pentium3. Not
really useful. Of course,