* i420_yuy2.h : YUV to YUV conversion module for vlc
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
- * $Id: i420_yuy2.h,v 1.5 2002/05/21 02:46:39 sam Exp $
+ * $Id: i420_yuy2.h,v 1.6 2002/05/22 21:05:18 sam Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
UNUSED_LONGLONG(woo_80w) = 0x0000000080808080;
#define MMX_LOAD " \n\
-pushl %%ebx \n\
-movl %8,%%eax \n\
movl %9,%%ebx \n\
"
#define MMX_SAVE " \n\
-movl %%eax,%8 \n\
movl %%ebx,%9 \n\
-popl %%ebx \n\
"
#define MMX_INC " \n\
MMX_SAVE \
: "=c" (p_line1), "=d" (p_line2), "=D" (p_y1), "=S" (p_y2) \
: "c" (p_line1), "d" (p_line2), "D" (p_y1), "S" (p_y2), \
- "m" (p_u), "m" (p_v) \
- : "eax", "memory" );
+ "a" (p_u), "m" (p_v) \
+ : "ebx", "memory" );
#define MMX_YUV420_YUYV " \n\
movq (%2), %%mm0 # Load 8 Y y7 y6 y5 y4 y3 y2 y1 y0 \n\