Go to the documentation of this file. 22 #ifndef AVCODEC_BFIN_MATHOPS_H 23 #define AVCODEC_BFIN_MATHOPS_H 27 #define MULH(X,Y) ({ int xxo; \ 29 "a1 = %2.L * %1.L (FU);\n\t" \ 30 "a1 = a1 >> 16;\n\t" \ 31 "a1 += %2.H * %1.L (IS,M);\n\t" \ 32 "a0 = %1.H * %2.H, a1+= %1.H * %2.L (IS,M);\n\t"\ 33 "a1 = a1 >>> 16;\n\t" \ 34 "%0 = (a0 += a1);\n\t" \ 35 : "=d" (xxo) : "d" (X), "d" (Y) : "A0","A1"); xxo; }) 38 #define MUL16(a, b) ({ int xxo; \ 40 "%0 = %1.l*%2.l (is);\n\t" \ 41 : "=W" (xxo) : "d" (a), "d" (b) : "A1"); \
Loading...