[Ffmpeg-cvslog] r6743 - trunk/libavcodec/cabac.h

Guillaume Poirier gpoirier
Fri Oct 20 11:36:00 CEST 2006


Hi,

michael wrote:
> Author: michael
> Date: Fri Oct 20 10:46:33 2006
> New Revision: 6743
> 
> Modified:
>    trunk/libavcodec/cabac.h
> 
> Log:
> 1 instruction less
> 
> 
> Modified: trunk/libavcodec/cabac.h
> ==============================================================================
> --- trunk/libavcodec/cabac.h	(original)
> +++ trunk/libavcodec/cabac.h	Fri Oct 20 10:46:33 2006
> @@ -696,11 +696,12 @@
>          "addl %1, %%ecx                         \n\t"
>          "movl %%ecx, (%%eax)                    \n\t"
>          "addl $4, %%eax                         \n\t"
> -        "movl %%eax, %2                         \n\t"
>  
>          "test $1, %%edx                         \n\t"
>          " jnz 4f                                \n\t"
>  
> +        "movl %%eax, %2                         \n\t"
> +
>          "3:                                     \n\t"
>          "addl $1, %1                            \n\t"
>          "cmpl %5, %1                            \n\t"

I'm a little puzzled... how can there be one instruction less when
what you did is just pull down one instruction?

Guillaume




More information about the ffmpeg-cvslog mailing list