From 0a0f7ecc1646751ea820bd68846f24edc755d352 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 16 Dec 2009 10:50:32 +0100 Subject: [PATCH] videomixer: Use movzbl instead of movzxb for moving one byte to a l register For some reason latest gcc/binutils accept movzxb here while movzbl would be correct and is the only thing accepted by older gcc/binutils. Fixes bug #604679. --- gst/videomixer/blend_ayuv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/videomixer/blend_ayuv.c b/gst/videomixer/blend_ayuv.c index 09953b14f0..069662a231 100644 --- a/gst/videomixer/blend_ayuv.c +++ b/gst/videomixer/blend_ayuv.c @@ -290,7 +290,7 @@ gst_videomixer_blend_ayuv_ayuv_mmx (guint8 * src, gint xpos, gint ypos, "psrlq $56 , %%mm5 \n\t" /* mm5 = 0x0...0ff */ "xor %%ecx , %%ecx \n\t" /* ecx = 0 */ "1: \n\t" - "movzxb (%2) , %%eax \n\t" /* eax == source alpha */ + "movzbl (%2) , %%eax \n\t" /* eax == source alpha */ "imul %4 , %%eax \n\t" /* eax = source alpha * alpha */ "sar $8 , %%eax \n\t" /* eax = (source alpha * alpha) / 256 */ "movd %%eax , %%mm0 \n\t" /* mm0 = apply alpha */