]> git.sesse.net Git - vlc/commitdiff
YADIF : Code the instruction width into 'cmp'.
authorJai Menon <jmenon86@gmail.com>
Sun, 9 Jan 2011 17:36:55 +0000 (11:36 -0600)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 10 Jan 2011 22:23:11 +0000 (23:23 +0100)
Without this, clang will complain about the asm block.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/video_filter/yadif.h

index 2d2a56f071587ff103c5908d043c68981e0ce3f0..260fa65bbd472eb0e27629bef8125dcf6d7422a9 100644 (file)
@@ -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] */\