[vlc-commits] commit: YADIF : Code the instruction width into 'cmp'. (Jai Menon )

git at videolan.org git at videolan.org
Mon Jan 10 23:23:54 CET 2011


vlc | branch: master | Jai Menon <jmenon86 at gmail.com> | Sun Jan  9 11:36:55 2011 -0600| [10a167116ec0f81ef8adf9df54aa09d575c441f6] | committer: Jean-Baptiste Kempf 

YADIF : Code the instruction width into 'cmp'.

Without this, clang will complain about the asm block.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=10a167116ec0f81ef8adf9df54aa09d575c441f6
---

 modules/video_filter/yadif.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/video_filter/yadif.h b/modules/video_filter/yadif.h
index 2d2a56f..260fa65 100644
--- a/modules/video_filter/yadif.h
+++ b/modules/video_filter/yadif.h
@@ -154,7 +154,7 @@ static void yadif_filter_line_mmx2(struct vf_priv_s *p, uint8_t *dst, uint8_t *p
 \
             /* if(p->mode<2) ... */\
             "movq    %[tmp3], %%mm6 \n\t" /* diff */\
-            "cmp       $2, %[mode] \n\t"\
+            "cmpl       $2, %[mode] \n\t"\
             "jge       1f \n\t"\
             LOAD4("(%["prev2"],%[mrefs],2)", %%mm2) /* prev2[x-2*refs] */\
             LOAD4("(%["next2"],%[mrefs],2)", %%mm4) /* next2[x-2*refs] */\



More information about the vlc-commits mailing list