[SCM] libav/experimental: ARM: allow register operands for shifts in MULL()
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:36:13 UTC 2013
The following commit has been merged in the experimental branch:
commit 1214bd86dcc4cea16d908506622b506648900277
Author: Måns Rullgård <mans at mansr.com>
Date: Tue Jan 27 16:06:34 2009 +0000
ARM: allow register operands for shifts in MULL()
Originally committed as revision 16818 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/arm/mathops.h b/libavcodec/arm/mathops.h
index 7a9d632..0027918 100644
--- a/libavcodec/arm/mathops.h
+++ b/libavcodec/arm/mathops.h
@@ -33,7 +33,7 @@ static inline av_const int MULL(int a, int b, unsigned shift)
"mov %0, %0, lsr %4 \n\t"
"add %1, %0, %1, lsl %5 \n\t"
: "=&r"(lo), "=&r"(hi)
- : "r"(b), "r"(a), "i"(shift), "i"(32-shift));
+ : "r"(b), "r"(a), "ir"(shift), "ir"(32-shift));
return hi;
}
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list