Commit aaff3b31 authored by Justin Ruggles's avatar Justin Ruggles
Browse files

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.
parent b181b8fb
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment