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

shivraj.patil at imgtec.com shivraj.patil at imgtec.com
Thu Jun 1 11:37:19 EEST 2017


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

The current upstreamed code has been written and tested for Little Endian systems.
We do have plans to add the Big Endian support in near future, but till that time, need to disable all to avoid its usage and failures.

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

diff --git a/configure b/configure
index 40eb2bb..6af896b 100755
--- a/configure
+++ b/configure
@@ -5392,6 +5392,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