Commit 5967b8ca authored by michael's avatar michael

use ecx instead of cl (no speed change on P3 but might avoid partial register stalls on some cpus)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6656 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c8b11826
......@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment