Mercurial > libavcodec.hg
diff arm/mathops.h @ 8676:7fcf95230c28 libavcodec
ARM: allow register operands for shifts in MULL()
| author | mru |
|---|---|
| date | Tue, 27 Jan 2009 16:06:34 +0000 |
| parents | 7a463923ecd1 |
| children | 3c484b73ca73 |
line wrap: on
line diff
--- a/arm/mathops.h Tue Jan 27 06:04:01 2009 +0000 +++ b/arm/mathops.h Tue Jan 27 16:06:34 2009 +0000 @@ -33,7 +33,7 @@ "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; }
