diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-03-15 13:35:05 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-03-15 13:43:47 -0400 |
commit | aaff3b312ed0a67750aa0a3a3300a3b69bb87150 (patch) | |
tree | fee89a146ec9d563d70bb5438670e69b1293aa47 | |
parent | b181b8fb96f9fdc2b166fcbd048110cec653cdf9 (diff) | |
download | ffmpeg-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.
-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; } |