Go to the documentation of this file.
22 #ifndef AVCODEC_X86_MATHOPS_H
23 #define AVCODEC_X86_MATHOPS_H
39 "shrdl %4, %%edx, %%eax \n\t"
40 :
"=a"(rt),
"=d"(dummy)
41 :
"a"(a),
"rm"(b),
"ci"((
uint8_t)shift)
52 :
"=d"(rt),
"=a"(dummy)
74 #define mid_pred mid_pred
93 #define COPY3_IF_LT(x, y, a, b, c, d)\
99 : "+&r" (x), "+&r" (a), "+r" (c)\
100 : "r" (y), "r" (b), "r" (d)\
105 #define MASK_ABS(mask, level) \
106 __asm__ ("cdq \n\t" \
109 : "+a"(level), "=&d"(mask))
112 #define NEG_SSR32 NEG_SSR32
114 __asm__ (
"sarl %1, %0\n\t"
121 #define NEG_USR32 NEG_USR32
122 static inline uint32_t
NEG_USR32(uint32_t a, int8_t s){
123 __asm__ (
"shrl %1, %0\n\t"