Commit 1d16a85e authored by cehoyos's avatar cehoyos

Disable Altivec for processors older than G4.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21546 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 749ce369
...@@ -1889,15 +1889,19 @@ elif enabled ppc; then ...@@ -1889,15 +1889,19 @@ elif enabled ppc; then
case $(tolower $cpu) in case $(tolower $cpu) in
601|ppc601|powerpc601) 601|ppc601|powerpc601)
cpuflags="-mcpu=601" cpuflags="-mcpu=601"
disable altivec
;; ;;
603*|ppc603*|powerpc603*) 603*|ppc603*|powerpc603*)
cpuflags="-mcpu=603" cpuflags="-mcpu=603"
disable altivec
;; ;;
604*|ppc604*|powerpc604*) 604*|ppc604*|powerpc604*)
cpuflags="-mcpu=604" cpuflags="-mcpu=604"
disable altivec
;; ;;
g3|75*|ppc75*|powerpc75*) g3|75*|ppc75*|powerpc75*)
cpuflags="-mcpu=750 -mpowerpc-gfxopt" cpuflags="-mcpu=750 -mpowerpc-gfxopt"
disable altivec
;; ;;
g4|745*|ppc745*|powerpc745*) g4|745*|ppc745*|powerpc745*)
cpuflags="-mcpu=7450 -mpowerpc-gfxopt" cpuflags="-mcpu=7450 -mpowerpc-gfxopt"
......
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