summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2007-12-15 23:08:15 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2007-12-15 23:08:15 +0000
commit15c57ced2fd5999ca89521d8b291582b3ae022c1 (patch)
tree79f4ecb087924b33a8c1ee89126dcbee1b4d5fd5 /libavcodec
parent2aaf95a210f2d05f11a9fc190760d30304469863 (diff)
Add 'l' suffix where it is necessary because type can not always be
inferred from arguments. Fixes compilation with Intel compiler Originally committed as revision 11227 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/i386/vc1dsp_mmx.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/i386/vc1dsp_mmx.c b/libavcodec/i386/vc1dsp_mmx.c
index 9e2b9a4568..e791394af1 100644
--- a/libavcodec/i386/vc1dsp_mmx.c
+++ b/libavcodec/i386/vc1dsp_mmx.c
@@ -95,7 +95,7 @@ static void vc1_put_ver_16b_shift2_mmx(int16_t *dst,
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(uint8_t *dst, long int stride,
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 *dst, const uint8_t *src,
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 *dst, const uint8_t *src, \
"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 *dst, long int stride, \
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, const uint8_t *src, \
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), \