changeset 3994:2734b228fc87 libavcodec

use ecx instead of cl (no speed change on P3 but might avoid partial register stalls on some cpus)
author michael
date Wed, 11 Oct 2006 15:20:08 +0000
parents 8b7c59b7af01
children b00c06477dff
files cabac.h
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/cabac.h	Wed Oct 11 14:44:17 2006 +0000
+++ b/cabac.h	Wed Oct 11 15:20:08 2006 +0000
@@ -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"