Go to the documentation of this file.
22 #ifndef AVCODEC_X86_MATHOPS_H
23 #define AVCODEC_X86_MATHOPS_H
38 "shrdl %4, %%edx, %%eax \n\t"
39 :
"=a"(rt),
"=d"(dummy)
40 :
"a"(a),
"rm"(b),
"ci"((
uint8_t)shift)
51 :
"=d"(rt),
"=a"(dummy)
73 #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)\
102 #define MASK_ABS(mask, level) \
103 __asm__ ("cltd \n\t" \
106 : "+a"(level), "=&d"(mask))
109 #define NEG_SSR32 NEG_SSR32
111 __asm__ (
"sarl %1, %0\n\t"
118 #define NEG_USR32 NEG_USR32
119 static inline uint32_t
NEG_USR32(uint32_t a, int8_t s){
120 __asm__ (
"shrl %1, %0\n\t"