From 64ad53ff5b6dda9532262efe0c2c1698b5a495c2 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sat, 30 Jan 2010 18:50:28 +0000 Subject: [PATCH] Disable Altivec for processors older than G4. Originally committed as revision 21546 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 4 ++++ 1 file changed, 4 insertions(+) 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"