diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-03-15 20:35:05 +0300 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-03-15 20:43:47 +0300 |
commit | aaff3b312ed0a67750aa0a3a3300a3b69bb87150 (patch) | |
tree | fee89a146ec9d563d70bb5438670e69b1293aa47 /libavcodec | |
parent | b181b8fb96f9fdc2b166fcbd048110cec653cdf9 (diff) |
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')
-rw-r--r-- | libavcodec/x86/mathops.h | 2 |
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; } |