[Ffmpeg-cvslog] r6656 - trunk/libavcodec/cabac.h

michael subversion
Wed Oct 11 17:20:08 CEST 2006


Author: michael
Date: Wed Oct 11 17:20:08 2006
New Revision: 6656

Modified:
   trunk/libavcodec/cabac.h

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


Modified: trunk/libavcodec/cabac.h
==============================================================================
--- trunk/libavcodec/cabac.h	(original)
+++ trunk/libavcodec/cabac.h	Wed Oct 11 17:20:08 2006
@@ -426,8 +426,8 @@
         "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 @@
         "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"




More information about the ffmpeg-cvslog mailing list