summaryrefslogtreecommitdiff
path: root/libmad-0.15.1b-ppc.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-06 02:28:05 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-06 02:28:05 +0000
commit29c0e466892b96669b3d9b0a4ce5a5d43a1414c9 (patch)
tree5b99ab3da32adbb65a82838a193767a67583fe77 /libmad-0.15.1b-ppc.patch
parent77080aa9e82c816630e454f3555fac9b2555e0d1 (diff)
automatic import of libmadopeneuler24.03_LTS
Diffstat (limited to 'libmad-0.15.1b-ppc.patch')
-rw-r--r--libmad-0.15.1b-ppc.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/libmad-0.15.1b-ppc.patch b/libmad-0.15.1b-ppc.patch
new file mode 100644
index 0000000..fa6ee38
--- /dev/null
+++ b/libmad-0.15.1b-ppc.patch
@@ -0,0 +1,13 @@
+--- libmad-0.15.1b/fixed.h~ 2004-02-17 02:02:03.000000000 +0000
++++ libmad-0.15.1b/fixed.h 2009-07-19 13:03:08.000000000 +0100
+@@ -379,8 +379,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