Commit fd2f4cfa authored by reimar's avatar reimar

Add 'l' suffix where it is necessary because type can not always be

inferred from arguments. Fixes compilation with Intel compiler


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11227 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7d65426a
...@@ -95,7 +95,7 @@ static void vc1_put_ver_16b_shift2_mmx(int16_t *dst, ...@@ -95,7 +95,7 @@ static void vc1_put_ver_16b_shift2_mmx(int16_t *dst,
SHIFT2_LINE(168, 4, 1, 2, 3) SHIFT2_LINE(168, 4, 1, 2, 3)
"sub %8, %1 \n\t" "sub %8, %1 \n\t"
"add $8, %2 \n\t" "add $8, %2 \n\t"
"dec %0 \n\t" "decl %0 \n\t"
"jnz 1b \n\t" "jnz 1b \n\t"
: "+g"(w), "+r"(src), "+r"(dst) : "+g"(w), "+r"(src), "+r"(dst)
: "r"(stride), "r"(-2*stride), "m"(shift), : "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, ...@@ -139,7 +139,7 @@ static void vc1_put_hor_16b_shift2_mmx(uint8_t *dst, long int stride,
TRANSFER_DO_PACK TRANSFER_DO_PACK
"add $24, %1 \n\t" "add $24, %1 \n\t"
"add %3, %2 \n\t" "add %3, %2 \n\t"
"dec %0 \n\t" "decl %0 \n\t"
"jnz 1b \n\t" "jnz 1b \n\t"
: "+g"(h), "+r" (src), "+r" (dst) : "+g"(h), "+r" (src), "+r" (dst)
: "g"(stride), "m"(rnd), "m"(fact_9), "m"(ff_pw_128) : "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, ...@@ -191,7 +191,7 @@ static void vc1_put_shift2_mmx(uint8_t *dst, const uint8_t *src,
TRANSFER_DO_PACK TRANSFER_DO_PACK
"add %7, %1 \n\t" "add %7, %1 \n\t"
"add %5, %2 \n\t" "add %5, %2 \n\t"
"dec %0 \n\t" "decl %0 \n\t"
"jnz 1b \n\t" "jnz 1b \n\t"
: "+g"(h), "+r"(src), "+r"(dst) : "+g"(h), "+r"(src), "+r"(dst)
: "r"(offset), "r"(-2*offset), "g"(stride), "m"(rnd), : "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, \ ...@@ -297,7 +297,7 @@ vc1_put_ver_16b_ ## NAME ## _mmx(int16_t *dst, const uint8_t *src, \
"movq %%mm3, 16(%2) \n\t" \ "movq %%mm3, 16(%2) \n\t" \
"add %3, %1 \n\t" \ "add %3, %1 \n\t" \
"add $24, %2 \n\t" \ "add $24, %2 \n\t" \
"dec %0 \n\t" \ "decl %0 \n\t" \
"jnz 1b \n\t" \ "jnz 1b \n\t" \
: "+g"(h), "+r" (src), "+r" (dst) \ : "+g"(h), "+r" (src), "+r" (dst) \
: "r"(src_stride), "r"(3*src_stride), \ : "r"(src_stride), "r"(3*src_stride), \
...@@ -336,7 +336,7 @@ vc1_put_hor_16b_ ## NAME ## _mmx(uint8_t *dst, long int stride, \ ...@@ -336,7 +336,7 @@ vc1_put_hor_16b_ ## NAME ## _mmx(uint8_t *dst, long int stride, \
TRANSFER_DO_PACK \ TRANSFER_DO_PACK \
"add $24, %1 \n\t" \ "add $24, %1 \n\t" \
"add %3, %2 \n\t" \ "add %3, %2 \n\t" \
"dec %0 \n\t" \ "decl %0 \n\t" \
"jnz 1b \n\t" \ "jnz 1b \n\t" \
: "+g"(h), "+r" (src), "+r" (dst) \ : "+g"(h), "+r" (src), "+r" (dst) \
: "g"(stride), "m"(rnd), "m"(fact_53), "m"(fact_18), \ : "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, \ ...@@ -372,7 +372,7 @@ vc1_put_## NAME ## _mmx(uint8_t *dst, const uint8_t *src, \
TRANSFER_DO_PACK \ TRANSFER_DO_PACK \
"add %5, %1 \n\t" \ "add %5, %1 \n\t" \
"add %5, %2 \n\t" \ "add %5, %2 \n\t" \
"dec %0 \n\t" \ "decl %0 \n\t" \
"jnz 1b \n\t" \ "jnz 1b \n\t" \
: "+g"(h), "+r" (src), "+r" (dst) \ : "+g"(h), "+r" (src), "+r" (dst) \
: "r"(offset), "r"(3*offset), "g"(stride), "m"(rnd), \ : "r"(offset), "r"(3*offset), "g"(stride), "m"(rnd), \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment