From 435b0720a89b5aa1dd9e92f13336d5a35964a6e6 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 1 Jun 2005 18:04:01 +0000 Subject: [PATCH] 100l for myself (breaking amd64) Originally committed as revision 4336 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/i386/idct_mmx.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavcodec/i386/idct_mmx.c b/libavcodec/i386/idct_mmx.c index 7be3cf592b..c1d80e1134 100644 --- a/libavcodec/i386/idct_mmx.c +++ b/libavcodec/i386/idct_mmx.c @@ -675,13 +675,13 @@ void ff_h264_idct_add_mmx2(uint8_t *dst, int16_t *block, int stride) 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) ); }