utils: Use mulq instead of mul as some assemblers can't guess the size of the operands
authorJeremy Huddleston <jeremyhu@freedesktop.org>
Wed, 10 Mar 2010 07:15:15 +0000 (07:15 +0000)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 10 Mar 2010 07:17:07 +0000 (07:17 +0000)
Fixes bug #612370.

gst/gstutils.c

index fc9339d..da32ca7 100644 (file)
@@ -211,7 +211,7 @@ static inline void
 gst_util_uint64_mul_uint64 (GstUInt64 * c1, GstUInt64 * c0, guint64 arg1,
     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)
       );
 }