aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/mathops.h
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-03-15 13:35:05 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2011-03-15 13:43:47 -0400
commitaaff3b312ed0a67750aa0a3a3300a3b69bb87150 (patch)
treefee89a146ec9d563d70bb5438670e69b1293aa47 /libavcodec/x86/mathops.h
parentb181b8fb96f9fdc2b166fcbd048110cec653cdf9 (diff)
downloadffmpeg-aaff3b312ed0a67750aa0a3a3300a3b69bb87150.tar.gz
mathops: change "g" constraint to "rm" in x86-32 version of MUL64().
The 1-arg imul instruction cannot take an immediate argument, only a register or memory argument.
Diffstat (limited to 'libavcodec/x86/mathops.h')
-rw-r--r--libavcodec/x86/mathops.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/mathops.h b/libavcodec/x86/mathops.h
index 4e54886227..b18302744c 100644
--- a/libavcodec/x86/mathops.h
+++ b/libavcodec/x86/mathops.h
@@ -59,7 +59,7 @@ static av_always_inline av_const int64_t MUL64(int a, int b)
__asm__ (
"imull %2"
:"=A"(rt)
- :"a"(a), "g"(b)
+ :"a"(a), "rm"(b)
);
return rt;
}