[FFmpeg-cvslog] r11227 - trunk/libavcodec/i386/vc1dsp_mmx.c
reimar
subversion
Sun Dec 16 00:08:15 CET 2007
Author: reimar
Date: Sun Dec 16 00:08:15 2007
New Revision: 11227
Log:
Add 'l' suffix where it is necessary because type can not always be
inferred from arguments. Fixes compilation with Intel compiler
Modified:
trunk/libavcodec/i386/vc1dsp_mmx.c
Modified: trunk/libavcodec/i386/vc1dsp_mmx.c
==============================================================================
--- trunk/libavcodec/i386/vc1dsp_mmx.c (original)
+++ trunk/libavcodec/i386/vc1dsp_mmx.c Sun Dec 16 00:08:15 2007
@@ -95,7 +95,7 @@ static void vc1_put_ver_16b_shift2_mmx(i
SHIFT2_LINE(168, 4, 1, 2, 3)
"sub %8, %1 \n\t"
"add $8, %2 \n\t"
- "dec %0 \n\t"
+ "decl %0 \n\t"
"jnz 1b \n\t"
: "+g"(w), "+r"(src), "+r"(dst)
: "r"(stride), "r"(-2*stride), "m"(shift),
@@ -139,7 +139,7 @@ static void vc1_put_hor_16b_shift2_mmx(u
TRANSFER_DO_PACK
"add $24, %1 \n\t"
"add %3, %2 \n\t"
- "dec %0 \n\t"
+ "decl %0 \n\t"
"jnz 1b \n\t"
: "+g"(h), "+r" (src), "+r" (dst)
: "g"(stride), "m"(rnd), "m"(fact_9), "m"(ff_pw_128)
@@ -191,7 +191,7 @@ static void vc1_put_shift2_mmx(uint8_t *
TRANSFER_DO_PACK
"add %7, %1 \n\t"
"add %5, %2 \n\t"
- "dec %0 \n\t"
+ "decl %0 \n\t"
"jnz 1b \n\t"
: "+g"(h), "+r"(src), "+r"(dst)
: "r"(offset), "r"(-2*offset), "g"(stride), "m"(rnd),
@@ -297,7 +297,7 @@ vc1_put_ver_16b_ ## NAME ## _mmx(int16_t
"movq %%mm3, 16(%2) \n\t" \
"add %3, %1 \n\t" \
"add $24, %2 \n\t" \
- "dec %0 \n\t" \
+ "decl %0 \n\t" \
"jnz 1b \n\t" \
: "+g"(h), "+r" (src), "+r" (dst) \
: "r"(src_stride), "r"(3*src_stride), \
@@ -336,7 +336,7 @@ vc1_put_hor_16b_ ## NAME ## _mmx(uint8_t
TRANSFER_DO_PACK \
"add $24, %1 \n\t" \
"add %3, %2 \n\t" \
- "dec %0 \n\t" \
+ "decl %0 \n\t" \
"jnz 1b \n\t" \
: "+g"(h), "+r" (src), "+r" (dst) \
: "g"(stride), "m"(rnd), "m"(fact_53), "m"(fact_18), \
@@ -372,7 +372,7 @@ vc1_put_## NAME ## _mmx(uint8_t *dst, co
TRANSFER_DO_PACK \
"add %5, %1 \n\t" \
"add %5, %2 \n\t" \
- "dec %0 \n\t" \
+ "decl %0 \n\t" \
"jnz 1b \n\t" \
: "+g"(h), "+r" (src), "+r" (dst) \
: "r"(offset), "r"(3*offset), "g"(stride), "m"(rnd), \
More information about the ffmpeg-cvslog
mailing list