Browse code

PPC: make inline asm xform address test work with Apple tools

Originally committed as revision 20466 to svn://svn.ffmpeg.org/ffmpeg/trunk

Måns Rullgård authored on 2009/11/06 06:48:09
Showing 1 changed files
... ...
@@ -2163,7 +2163,7 @@ elif enabled ppc; then
2163 2163
 
2164 2164
     check_asm dcbzl     '"dcbzl 0, 1"'
2165 2165
     check_asm ppc4xx    '"maclhw r10, r11, r12"'
2166
-    check_asm xform_asm '"lwzx 0, %y0" :: "Z"(*(int*)0)'
2166
+    check_asm xform_asm '"lwzx %1, %y0" :: "Z"(*(int*)0), "r"(0)'
2167 2167
 
2168 2168
     # AltiVec flags: The FSF version of GCC differs from the Apple version
2169 2169
     if enabled altivec; then