changeset 2752:23665209e823 libavcodec

100l for myself (breaking amd64)
author michael
date Wed, 01 Jun 2005 18:04:01 +0000
parents 3247049dfc7a
children ba8ecddf5598
files i386/idct_mmx.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/i386/idct_mmx.c	Wed Jun 01 12:03:25 2005 +0000
+++ b/i386/idct_mmx.c	Wed Jun 01 18:04:01 2005 +0000
@@ -675,13 +675,13 @@
 
     asm volatile(
     STORE_DIFF_4P( %%mm0, %%mm1, %%mm7)
-        "addl %1, %0             \n\t"
+        "add %1, %0             \n\t"
     STORE_DIFF_4P( %%mm2, %%mm1, %%mm7)
-        "addl %1, %0             \n\t"
+        "add %1, %0             \n\t"
     STORE_DIFF_4P( %%mm3, %%mm1, %%mm7)
-        "addl %1, %0             \n\t"
+        "add %1, %0             \n\t"
     STORE_DIFF_4P( %%mm4, %%mm1, %%mm7)
         : "+r"(dst)
-        : "r" (stride)
+        : "r" ((long)stride)
     );
 }