diff options
author | Måns Rullgård <mans@mansr.com> | 2009-01-27 16:06:34 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2009-01-27 16:06:34 +0000 |
commit | 1214bd86dcc4cea16d908506622b506648900277 (patch) | |
tree | 747a2ed3d4a75bb73beb516425ecaddb52082b6b | |
parent | 20631a9c1565346c7a87d0b7a4669c1f30c92c7c (diff) | |
download | ffmpeg-1214bd86dcc4cea16d908506622b506648900277.tar.gz |
ARM: allow register operands for shifts in MULL()
Originally committed as revision 16818 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/arm/mathops.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/arm/mathops.h b/libavcodec/arm/mathops.h index 7a9d632195..00279181db 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; } |