[SCM] libav/experimental: Disable Altivec for processors older than G4.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:59:01 UTC 2013


The following commit has been merged in the experimental branch:
commit 64ad53ff5b6dda9532262efe0c2c1698b5a495c2
Author: Carl Eugen Hoyos <cehoyos at rainbow.studorg.tuwien.ac.at>
Date:   Sat Jan 30 18:50:28 2010 +0000

    Disable Altivec for processors older than G4.
    
    Originally committed as revision 21546 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index d87de69..1d474ac 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"

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list