Commit e221030b authored by michael's avatar michael

fix !CMOV_IS_FAST case (iam not really happy with the fix but i didnt come up...

fix !CMOV_IS_FAST case (iam not really happy with the fix but i didnt come up with a better one quickly)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6707 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 46189370
......@@ -470,13 +470,14 @@ static int always_inline get_cabac_inline(CABACContext *c, uint8_t * const state
"subl %%edx, %%ebx \n\t"
"xorl %%ecx, %%eax \n\t"
#else /* CMOV_IS_FAST */
FIXTHIS
"movl %%edx, %%ecx \n\t"
"shl $17, %%edx \n\t"
"subl %%ebx, %%edx \n\t"
"sarl $31, %%edx \n\t" //lps_mask
"subl %%ecx, %%esi \n\t" //RangeLPS - range
"andl %%edx, %%esi \n\t" //(RangeLPS - range)&lps_mask
"addl %%ecx, %%esi \n\t" //new range
"shl $17, %%ecx \n\t"
"andl %%edx, %%ecx \n\t"
"subl %%ecx, %%ebx \n\t"
"xorl %%edx, %%eax \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