From d17faef011c99e92a88f70d22eb2bbc9d4aa1f2c Mon Sep 17 00:00:00 2001 From: Michael Niedermayer <michaelni@gmx.at> Date: Wed, 11 Oct 2006 15:20:08 +0000 Subject: [PATCH] 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 --- libavcodec/cabac.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavcodec/cabac.h b/libavcodec/cabac.h index 77517327e67..c852aa539df 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" -- GitLab