aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2010-01-30 18:50:28 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2010-01-30 18:50:28 +0000
commit64ad53ff5b6dda9532262efe0c2c1698b5a495c2 (patch)
tree1463d257e1cd07360b4617915f7fe9f31f408a02
parent80a07f6e47a842ca351ebec3478878204cd1d0b7 (diff)
downloadffmpeg-64ad53ff5b6dda9532262efe0c2c1698b5a495c2.tar.gz
Disable Altivec for processors older than G4.
Originally committed as revision 21546 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index d87de69098..1d474ac209 100755
--- a/configure
+++ b/configure
@@ -1889,15 +1889,19 @@ elif enabled ppc; then
case $(tolower $cpu) in
601|ppc601|powerpc601)
cpuflags="-mcpu=601"
+ disable altivec
;;
603*|ppc603*|powerpc603*)
cpuflags="-mcpu=603"
+ disable altivec
;;
604*|ppc604*|powerpc604*)
cpuflags="-mcpu=604"
+ disable altivec
;;
g3|75*|ppc75*|powerpc75*)
cpuflags="-mcpu=750 -mpowerpc-gfxopt"
+ disable altivec
;;
g4|745*|ppc745*|powerpc745*)
cpuflags="-mcpu=7450 -mpowerpc-gfxopt"