Go to the documentation of this file.
22 #ifndef AVCODEC_X86_MATHOPS_H
23 #define AVCODEC_X86_MATHOPS_H
36 "shrdl %4, %%edx, %%eax \n\t"
37 :
"=a"(rt),
"=d"(dummy)
38 :
"a"(a),
"rm"(b),
"ci"((uint8_t)shift)
49 :
"=d"(rt),
"=a"(dummy)
71 #define mid_pred mid_pred
91 #define COPY3_IF_LT(x, y, a, b, c, d)\
97 : "+&r" (x), "+&r" (a), "+r" (c)\
98 : "r" (y), "r" (b), "r" (d)\
103 #define NEG_SSR32 NEG_SSR32
105 __asm__ (
"sarl %1, %0\n\t"
107 :
"ic" ((uint8_t)(-s))
112 #define NEG_USR32 NEG_USR32
114 __asm__ (
"shrl %1, %0\n\t"
116 :
"ic" ((uint8_t)(-s))