mirror of https://git.ffmpeg.org/ffmpeg.git
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.
This commit is contained in:
parent
b181b8fb96
commit
aaff3b312e
|
@ -59,7 +59,7 @@ static av_always_inline av_const int64_t MUL64(int a, int b)
|
||||||
__asm__ (
|
__asm__ (
|
||||||
"imull %2"
|
"imull %2"
|
||||||
:"=A"(rt)
|
:"=A"(rt)
|
||||||
:"a"(a), "g"(b)
|
:"a"(a), "rm"(b)
|
||||||
);
|
);
|
||||||
return rt;
|
return rt;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue