[FFmpeg-cvslog] x86: cabac: change 'a' constraint to 'r' in get_cabac_inline()

Mans Rullgard git at videolan.org
Tue Jun 21 03:45:22 CEST 2011


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Mon Jun 20 09:28:19 2011 +0100| [3146a30e612729e4a70dd10361c8a38750fa6d53] | committer: Mans Rullgard

x86: cabac: change 'a' constraint to 'r' in get_cabac_inline()

Nothing requires this value in %eax.

Signed-off-by: Mans Rullgard <mans at mansr.com>

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

 libavcodec/cabac.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/cabac.h b/libavcodec/cabac.h
index b967da5..adccf54 100644
--- a/libavcodec/cabac.h
+++ b/libavcodec/cabac.h
@@ -376,7 +376,7 @@ static av_always_inline int get_cabac_inline(CABACContext *c, uint8_t * const st
         "movl %2, %a6(%5)               \n\t"
         "movl %1, %a7(%5)               \n\t"
 
-        :"=&a"(bit), "=&r"(low), "=&r"(range), "=&r"(tmp)
+        :"=&r"(bit), "=&r"(low), "=&r"(range), "=&r"(tmp)
         :"r"(state), "r"(c),
          "i"(offsetof(CABACContext, range)), "i"(offsetof(CABACContext, low)),
          "i"(offsetof(CABACContext, bytestream))



More information about the ffmpeg-cvslog mailing list