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:
Jeremy Huddleston 2010-03-10 07:15:15 +00:00 committed by Sebastian Dröge
parent 27d2d9b357
commit fa0d218e4c

View file

@ -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)
); );
} }