From ff9a056d1a9e22440214176d7523c6a0c782167b Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 10 Sep 2008 17:50:49 +0000 Subject: [PATCH] Fix build failure due to %%eip on x86_64. Originally committed as revision 27569 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale --- libswscale/swscale_template.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/libswscale/swscale_template.c b/libswscale/swscale_template.c index ea111418ff..81743f2d1a 100644 --- a/libswscale/swscale_template.c +++ b/libswscale/swscale_template.c @@ -1909,13 +1909,15 @@ static inline void bgr24ToY_mmx(uint8_t *dst, uint8_t *src, long width, int srcF if(srcFormat == PIX_FMT_BGR24){ asm volatile( - "movq "MANGLE(ff_bgr24toY1Coeff)", %mm5 \n\t" - "movq "MANGLE(ff_bgr24toY2Coeff)", %mm6 \n\t" + "movq "MANGLE(ff_bgr24toY1Coeff)", %%mm5 \n\t" + "movq "MANGLE(ff_bgr24toY2Coeff)", %%mm6 \n\t" + : ); }else{ asm volatile( - "movq "MANGLE(ff_rgb24toY1Coeff)", %mm5 \n\t" - "movq "MANGLE(ff_rgb24toY2Coeff)", %mm6 \n\t" + "movq "MANGLE(ff_rgb24toY1Coeff)", %%mm5 \n\t" + "movq "MANGLE(ff_rgb24toY2Coeff)", %%mm6 \n\t" + : ); }