[FFmpeg-cvslog] arm: fix av_clipl_int32() asm

Michael Niedermayer git at videolan.org
Tue Oct 11 20:28:11 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Oct 11 20:09:53 2011 +0200| [96bc6485bc929741827fc0f08ef06bea662a3eea] | committer: Michael Niedermayer

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 at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=96bc6485bc929741827fc0f08ef06bea662a3eea
---

 libavutil/arm/intmath.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavutil/arm/intmath.h b/libavutil/arm/intmath.h
index efe3915..52af66e 100644
--- a/libavutil/arm/intmath.h
+++ b/libavutil/arm/intmath.h
@@ -106,7 +106,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;
 }
 



More information about the ffmpeg-cvslog mailing list