aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/arm/mathops.h
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-05-27 21:59:46 +0100
committerMans Rullgard <mans@mansr.com>2011-05-28 15:00:17 +0100
commit5726ec171bf7cb833f8445d9a294f23fc047a549 (patch)
treeacf32c906947551969ec5a71e984d6553c1a9a70 /libavcodec/arm/mathops.h
parenta84f82560e3fa6aa41de64b0a5b75d1d607599aa (diff)
downloadffmpeg-5726ec171bf7cb833f8445d9a294f23fc047a549.tar.gz
ARM: add "cc" clobbers to inline asm where needed
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/arm/mathops.h')
-rw-r--r--libavcodec/arm/mathops.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/arm/mathops.h b/libavcodec/arm/mathops.h
index 1fce8e3267..858e73d677 100644
--- a/libavcodec/arm/mathops.h
+++ b/libavcodec/arm/mathops.h
@@ -107,7 +107,8 @@ static inline av_const int mid_pred(int a, int b, int c)
"cmp %0, %1 \n\t"
"movgt %0, %1 \n\t"
: "=&r"(m), "+r"(a)
- : "r"(b), "r"(c));
+ : "r"(b), "r"(c)
+ : "cc");
return m;
}