From fa0d218e4c522d2b51d03b4effd5004c0ef61049 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Wed, 10 Mar 2010 07:15:15 +0000 Subject: [PATCH] utils: Use mulq instead of mul as some assemblers can't guess the size of the operands Fixes bug #612370. --- gst/gstutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gstutils.c b/gst/gstutils.c index fc9339d09d..da32ca7330 100644 --- a/gst/gstutils.c +++ b/gst/gstutils.c @@ -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) ); }