changeset 4048:bf6791303fa0 libavcodec

1 instruction less
author michael
date Fri, 20 Oct 2006 08:46:33 +0000
parents 61a4e7218a45
children 8c1a5ed03a00
files cabac.h
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cabac.h	Fri Oct 20 00:51:04 2006 +0000
+++ b/cabac.h	Fri Oct 20 08:46:33 2006 +0000
@@ -696,11 +696,12 @@
         "addl %1, %%ecx                         \n\t"
         "movl %%ecx, (%%eax)                    \n\t"
         "addl $4, %%eax                         \n\t"
-        "movl %%eax, %2                         \n\t"
 
         "test $1, %%edx                         \n\t"
         " jnz 4f                                \n\t"
 
+        "movl %%eax, %2                         \n\t"
+
         "3:                                     \n\t"
         "addl $1, %1                            \n\t"
         "cmpl %5, %1                            \n\t"