aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-10-11 20:09:53 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-11-04 01:08:16 +0100
commit7d02df7036d4efef1410a840b3e5ffb7a8c42cf1 (patch)
treed87d66a160008726669156f4961d12e59ab87dda
parent1c3d46a9246af544f3e9b3b81fe8589e58756484 (diff)
downloadffmpeg-7d02df7036d4efef1410a840b3e5ffb7a8c42cf1.tar.gz
arm: fix av_clipl_int32() asm
Note, the other arm asm code is likely affected too and should be changed as well. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 96bc6485bc929741827fc0f08ef06bea662a3eea) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavutil/arm/intmath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/arm/intmath.h b/libavutil/arm/intmath.h
index 4130177549..1e9d3e8b15 100644
--- a/libavutil/arm/intmath.h
+++ b/libavutil/arm/intmath.h
@@ -104,7 +104,7 @@ static av_always_inline av_const int32_t av_clipl_int32_arm(int64_t a)
"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));
+ : "=r"(x), "=&r"(y) : "r"(a):"cc");
return x;
}