From 9e3301991851abdcfcad887c06c3bbda8077f801 Mon Sep 17 00:00:00 2001 From: mru Date: Tue, 27 Jan 2009 16:06:34 +0000 Subject: [PATCH] ARM: allow register operands for shifts in MULL() git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16818 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b --- libavcodec/arm/mathops.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/arm/mathops.h b/libavcodec/arm/mathops.h index 7a9d63219..00279181d 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; } -- 2.39.2