Revision 5e7dfb7d libavcodec/x86/mathops.h

View differences:

libavcodec/x86/mathops.h
66 66
}
67 67
#endif
68 68

  
69
#if HAVE_CMOV
70
#define COPY3_IF_LT(x, y, a, b, c, d)\
71
__asm__ volatile(\
72
    "cmpl  %0, %3       \n\t"\
73
    "cmovl %3, %0       \n\t"\
74
    "cmovl %4, %1       \n\t"\
75
    "cmovl %5, %2       \n\t"\
76
    : "+&r" (x), "+&r" (a), "+r" (c)\
77
    : "r" (y), "r" (b), "r" (d)\
78
);
79
#endif
80

  
69 81
#endif /* AVCODEC_X86_MATHOPS_H */

Also available in: Unified diff