[FFmpeg-cvslog] Disable MSA optimization for big endian arch

Shivraj Patil git at videolan.org
Sat Jun 3 01:11:14 EEST 2017


ffmpeg | branch: master | Shivraj Patil <shivraj.patil at imgtec.com> | Thu Jun  1 14:25:19 2017 +0530| [6f35c21659f7802a5533dea04b24958502886d7a] | committer: Michael Niedermayer

Disable MSA optimization for big endian arch

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>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6f35c21659f7802a5533dea04b24958502886d7a
---

 configure | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure b/configure
index 72060ef0e9..4ec8f21814 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



More information about the ffmpeg-cvslog mailing list