LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File libmad-0.15.1b-ppc.patch of Package libmad (Project home:wolfi323)

Index: libmad-0.15.1b/fixed.h
===================================================================
--- libmad-0.15.1b.orig/fixed.h
+++ libmad-0.15.1b/fixed.h
@@ -392,8 +392,8 @@ mad_fixed_t mad_f_mul_inline(mad_fixed_t
        asm ("addc %0,%2,%3\n\t"  \
 	    "adde %1,%4,%5"  \
 	    : "=r" (lo), "=r" (hi)  \
-	    : "%r" (lo), "r" (__lo),  \
-	      "%r" (hi), "r" (__hi)  \
+	    : "0" (lo), "r" (__lo), \
+	      "1" (hi), "r" (__hi) \
 	    : "xer");  \
     })
 #  endif