SPARC: disable VIS for Niagara CPU
authorMichael Kostylev <michael.kostylev@gmail.com>
Fri, 7 May 2010 10:17:25 +0000 (10:17 +0000)
committerMåns Rullgård <mans@mansr.com>
Fri, 7 May 2010 10:17:25 +0000 (10:17 +0000)
The Niagara/T1 supports only a subset of VIS, and even this is very slow.

Patch by Michael Kostylev <michael kostylev gmail>

Originally committed as revision 23045 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 355cab1..819d14b 100755 (executable)
--- a/configure
+++ b/configure
@@ -2018,6 +2018,10 @@ elif enabled x86; then
 elif enabled sparc; then
 
     case $cpu in
+        niagara)
+            cpuflags="-mcpu=$cpu"
+            disable vis
+        ;;
         sparc64)
             cpuflags="-mcpu=v9"
         ;;