[FFmpeg-devel] [PATCH] Disable MSA optimization for big endian arch

Shivraj Patil Shivraj.Patil at imgtec.com
Mon May 15 09:01:10 EEST 2017


Hi,
Can anyone review the patch please?

-----Original Message-----
From: Shivraj Patil 
Sent: 24 April 2017 17:33
To: ffmpeg-devel at ffmpeg.org
Cc: Shivraj Patil
Subject: [PATCH] Disable MSA optimization for big endian arch

From: Shivraj Patil <shivraj.patil at imgtec.com>

Signed-off-by: Shivraj Patil <shivraj.patil at imgtec.com>
---
 configure |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure b/configure
index 1e3463c..c63a48a 100755
--- a/configure
+++ b/configure
@@ -5357,6 +5357,10 @@ elif enabled mips; then
     enabled mipsdsp && check_inline_asm_flags mipsdsp '"addu.qb $t0, $t1, $t2"' '-mdsp'
     enabled mipsdspr2 && check_inline_asm_flags mipsdspr2 '"absq_s.qb $t0, $t1"' '-mdspr2'
 
+    if enabled bigendian && enabled msa; then
+        disable msa
+    fi
+
 elif enabled parisc; then
 
     if enabled gcc; then
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list