[Ffmpeg-cvslog] r6707 - trunk/libavcodec/cabac.h
michael
subversion
Mon Oct 16 13:11:21 CEST 2006
Author: michael
Date: Mon Oct 16 13:11:20 2006
New Revision: 6707
Modified:
trunk/libavcodec/cabac.h
Log:
fix !CMOV_IS_FAST case (iam not really happy with the fix but i didnt come up with a better one quickly)
Modified: trunk/libavcodec/cabac.h
==============================================================================
--- trunk/libavcodec/cabac.h (original)
+++ trunk/libavcodec/cabac.h Mon Oct 16 13:11:20 2006
@@ -470,13 +470,14 @@
"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"
More information about the ffmpeg-cvslog
mailing list