22 #ifndef AVCODEC_X86_MATHOPS_H 23 #define AVCODEC_X86_MATHOPS_H 40 "shrdl %4, %%edx, %%eax \n\t" 41 :
"=a"(rt),
"=d"(dummy)
42 :
"a"(a),
"rm"(b),
"ci"((
uint8_t)shift)
53 :
"=d"(rt),
"=a"(dummy)
75 #define mid_pred mid_pred 94 #define COPY3_IF_LT(x, y, a, b, c, d)\ 100 : "+&r" (x), "+&r" (a), "+r" (c)\ 101 : "r" (y), "r" (b), "r" (d)\ 107 #define MASK_ABS(mask, level) \ 108 __asm__ ("cdq \n\t" \ 111 : "+a"(level), "=&d"(mask)) 114 #define NEG_SSR32 NEG_SSR32 116 __asm__ (
"sarl %1, %0\n\t" 123 #define NEG_USR32 NEG_USR32 124 static inline uint32_t
NEG_USR32(uint32_t a, int8_t s){
125 __asm__ (
"shrl %1, %0\n\t"
static int shift(int a, int b)
common internal and external API header