diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-10-11 15:20:08 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-10-11 15:20:08 +0000 |
commit | d17faef011c99e92a88f70d22eb2bbc9d4aa1f2c (patch) | |
tree | 81f78da762349553a6cf50148e982ebc49968cbb /libavcodec/cabac.h | |
parent | d61c4e731e1b5475bc449a04d792bcadcd89d1df (diff) | |
download | ffmpeg-d17faef011c99e92a88f70d22eb2bbc9d4aa1f2c.tar.gz |
use ecx instead of cl (no speed change on P3 but might avoid partial register stalls on some cpus)
Originally committed as revision 6656 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/cabac.h')
-rw-r--r-- | libavcodec/cabac.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/cabac.h b/libavcodec/cabac.h index 77517327e6..c852aa539d 100644 --- a/libavcodec/cabac.h +++ b/libavcodec/cabac.h @@ -426,8 +426,8 @@ static int get_cabac(CABACContext *c, uint8_t * const state){ "xorl %%ebx, %%ecx \n\t" "shrl $17, %%ecx \n\t" "movzbl " MANGLE(ff_h264_norm_shift) "(%%ecx), %%ecx \n\t" - "neg %%cl \n\t" - "add $7, %%cl \n\t" + "neg %%ecx \n\t" + "add $7, %%ecx \n\t" "shll %%cl , %%esi \n\t" "addl %%esi, %%ebx \n\t" @@ -495,8 +495,8 @@ static int get_cabac(CABACContext *c, uint8_t * const state){ "xorl %%ebx, %%ecx \n\t" "shrl $17, %%ecx \n\t" "movzbl " MANGLE(ff_h264_norm_shift) "(%%ecx), %%ecx \n\t" - "neg %%cl \n\t" - "add $7, %%cl \n\t" + "neg %%ecx \n\t" + "add $7, %%ecx \n\t" "shll %%cl , %%esi \n\t" "addl %%esi, %%ebx \n\t" |