[FFmpeg-devel] [PATCH]Disable xform_asm on little endian

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Jun 3 11:40:38 CEST 2014


Hi!

Attached patch is a complete shot in the dark.

Please comment, Carl Eugen
-------------- next part --------------
diff --git a/configure b/configure
index 7fe6994..b6d2805 100755
--- a/configure
+++ b/configure
@@ -4347,7 +4347,7 @@ elif enabled ppc; then
     check_inline_asm dcbzl     '"dcbzl 0, %0" :: "r"(0)'
     check_inline_asm ibm_asm   '"add 0, 0, 0"'
     check_inline_asm ppc4xx    '"maclhw r10, r11, r12"'
-    check_inline_asm xform_asm '"lwzx %1, %y0" :: "Z"(*(int*)0), "r"(0)'
+    enabled bigendian && check_inline_asm xform_asm '"lwzx %1, %y0" :: "Z"(*(int*)0), "r"(0)'
 
     # AltiVec flags: The FSF version of GCC differs from the Apple version
     if enabled altivec; then


More information about the ffmpeg-devel mailing list