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

Originally committed as revision 20466 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2009-11-05 21:48:09 +00:00
parent ffa3bd54da
commit 64de20d18b

2
configure vendored
View File

@ -2163,7 +2163,7 @@ elif enabled ppc; then
check_asm dcbzl '"dcbzl 0, 1"'
check_asm ppc4xx '"maclhw r10, r11, r12"'
check_asm xform_asm '"lwzx 0, %y0" :: "Z"(*(int*)0)'
check_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