aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-06-01 18:04:01 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-06-01 18:04:01 +0000
commit435b0720a89b5aa1dd9e92f13336d5a35964a6e6 (patch)
treea17f9974ac1abafe595c0bdb5cae49370f6aae30
parentca15919699545e462301ceb00fab4f65b9e068e4 (diff)
downloadffmpeg-435b0720a89b5aa1dd9e92f13336d5a35964a6e6.tar.gz
100l for myself (breaking amd64)
Originally committed as revision 4336 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/i386/idct_mmx.c8
1 files 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)
);
}