From: Stefan Kost Date: Wed, 13 Jan 2010 14:48:46 +0000 (+0200) Subject: videomixer: use 'q' constraint instead of 'r' X-Git-Tag: RELEASE-0.10.18~64 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=404e673ac0d209aee3a4626bd8f73a01c6390359;p=platform%2Fupstream%2Fgst-plugins-good.git videomixer: use 'q' constraint instead of 'r' This avoids the "bad register name `%dil'" compilation errors on 32bit where because of 'r' gcc puts the value in a general purpose register and then tries to access the lower part as %dil/%sil which is not existing on 32bit. 'q' requests a-d registers --- diff --git a/gst/videomixer/blend_mmx.h b/gst/videomixer/blend_mmx.h index 2984092..90cb33b 100644 --- a/gst/videomixer/blend_mmx.h +++ b/gst/videomixer/blend_mmx.h @@ -233,8 +233,8 @@ _memset_u8_mmx (guint8 * dest, guint val, guint count) "jne 4b \n\t" "5: \n\t" "emms \n\t" - : "=r" (count), "=r" (dest) - : "0" (count), "1" (dest), "r" (val8), "m" (val64) + : "=r" (count), "=q" (dest) + : "0" (count), "1" (dest), "q" (val8), "m" (val64) : "memory" #ifdef __MMX__ , "mm0"