on the P4 inc needs twice as much time a add
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 9 Oct 2006 21:39:07 +0000 (21:39 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 9 Oct 2006 21:39:07 +0000 (21:39 +0000)
Originally committed as revision 6611 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/cabac.h

index e5d8791..7626e93 100644 (file)
@@ -417,7 +417,7 @@ static int get_cabac(CABACContext *c, uint8_t * const state){
         "shll %%cl, %%edx                       \n\t"
         "movb "LPS_STATE"(%2, %%eax), %%cl      \n\t"
         "movb %%cl, (%1)                        \n\t"
-        "incl %%eax                             \n\t"
+        "addl $1, %%eax                         \n\t"
         "test %%bx, %%bx                        \n\t"
         " jnz 2f                                \n\t"