Go to the documentation of this file.
22 #ifndef AVCODEC_ARM_MATHOPS_H
23 #define AVCODEC_ARM_MATHOPS_H
36 __asm__ (
"smmul %0, %1, %2" :
"=r"(r) :
"r"(a),
"r"(b));
40 #define FASTDIV FASTDIV
44 __asm__ (
"cmp %2, #2 \n\t"
45 "ldr %0, [%3, %2, lsl #2] \n\t"
47 "lsrle %0, %1, #1 \n\t"
48 "smmulgt %0, %0, %1 \n\t"
49 :
"=&r"(r) :
"r"(a),
"r"(b),
"r"(
ff_inverse) :
"cc");
55 #define FASTDIV FASTDIV
59 __asm__ (
"umull %1, %0, %2, %3"
60 :
"=&r"(r),
"=&r"(t) :
"r"(a),
"r"(
ff_inverse[b]));
65 #define MLS64(d, a, b) MAC64(d, -(a), b)
67 #if HAVE_ARMV5TE_INLINE
70 # define MAC16(rt, ra, rb) \
71 __asm__ ("smlabb %0, %1, %2, %0" : "+r"(rt) : "r"(ra), "r"(rb));
78 __asm__ (
"smulbb %0, %1, %2" :
"=r"(rt) :
"r"(ra),
"r"(rb));
84 #define mid_pred mid_pred