mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
utils: Use mulq instead of mul as some assemblers can't guess the size of the operands
Fixes bug #612370.
This commit is contained in:
parent
27d2d9b357
commit
fa0d218e4c
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ static inline void
|
||||||
gst_util_uint64_mul_uint64 (GstUInt64 * c1, GstUInt64 * c0, guint64 arg1,
|
gst_util_uint64_mul_uint64 (GstUInt64 * c1, GstUInt64 * c0, guint64 arg1,
|
||||||
guint64 arg2)
|
guint64 arg2)
|
||||||
{
|
{
|
||||||
__asm__ __volatile__ ("mul %3":"=a" (c0->ll), "=d" (c1->ll)
|
__asm__ __volatile__ ("mulq %3":"=a" (c0->ll), "=d" (c1->ll)
|
||||||
:"a" (arg1), "g" (arg2)
|
:"a" (arg1), "g" (arg2)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue