summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-05-25 18:43:28 +0100
committerMans Rullgard <mans@mansr.com>2011-05-26 20:12:59 +0100
commit74cc8c52ed42e269715e128d5aa0708b9f7ec463 (patch)
treef15e86bc283d346d5e67ba88103aa616ca874e2b
parent3d96c13e437e77a3220146aa466d89df52871fbd (diff)
ARM: fix av_clipl_int32_arm()
Signed-off-by: Mans Rullgard <mans@mansr.com>
-rw-r--r--libavutil/arm/intmath.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/arm/intmath.h b/libavutil/arm/intmath.h
index 2f651d1875..155d1a877d 100644
--- a/libavutil/arm/intmath.h
+++ b/libavutil/arm/intmath.h
@@ -93,6 +93,7 @@ static av_always_inline av_const int32_t av_clipl_int32_arm(int64_t a)
int x, y;
__asm__ volatile ("adds %1, %R2, %Q2, lsr #31 \n\t"
"mvnne %1, #1<<31 \n\t"
+ "moveq %0, %Q2 \n\t"
"eorne %0, %1, %R2, asr #31 \n\t"
: "=r"(x), "=&r"(y) : "r"(a));
return x;