diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-10-11 16:39:50 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-10-11 16:39:50 +0000 |
commit | 2b5269b51cfdc35715202bff33d59f8a8d02df03 (patch) | |
tree | 733bbdf4dbb813574078fe7742e3247926847d3d /libavcodec/cabac.h | |
parent | b99f3cabeddf98264fd73fd6757255220651ce62 (diff) | |
download | ffmpeg-2b5269b51cfdc35715202bff33d59f8a8d02df03.tar.gz |
moving lps state transition code a little up in the branched asm code (1% faster on P3)
Originally committed as revision 6658 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/cabac.h')
-rw-r--r-- | libavcodec/cabac.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/cabac.h b/libavcodec/cabac.h index 473e7cf84a..ba2799311c 100644 --- a/libavcodec/cabac.h +++ b/libavcodec/cabac.h @@ -405,11 +405,11 @@ static int get_cabac(CABACContext *c, uint8_t * const state){ "subl %%edx, %%ebx \n\t" "movl %%esi, %%edx \n\t" "shr $19, %%esi \n\t" + "movzbl "MANGLE(ff_h264_lps_state)"(%%eax), %%ecx \n\t" + "movb %%cl, (%1) \n\t" "movzbl " MANGLE(ff_h264_norm_shift) "(%%esi), %%ecx \n\t" "shll %%cl, %%ebx \n\t" "shll %%cl, %%edx \n\t" - "movzbl "MANGLE(ff_h264_lps_state)"(%%eax), %%ecx \n\t" - "movb %%cl, (%1) \n\t" "addl $1, %%eax \n\t" "test %%bx, %%bx \n\t" " jnz 2f \n\t" |