From 26b7199e12a27dbac90ca43d8a2e5bf49b33f6c7 Mon Sep 17 00:00:00 2001
From: Michael Kostylev <michael.kostylev@gmail.com>
Date: Fri, 7 May 2010 10:17:25 +0000
Subject: [PATCH] SPARC: disable VIS for Niagara CPU

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 | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure b/configure
index 355cab1cc31..819d14b939b 100755
--- 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"
         ;;
-- 
GitLab