| 39 | |
| 40 | #define FASTDIV FASTDIV |
| 41 | static av_always_inline av_const int FASTDIV(int a, int b) |
| 42 | { |
| 43 | int r; |
| 44 | __asm__ ("cmp %2, #2 \n\t" |
| 45 | "ldr %0, [%3, %2, lsl #2] \n\t" |
| 46 | "ite le \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"); |
| 50 | return r; |
| 51 | } |
| 52 | |
| 53 | #else /* HAVE_ARMV6_INLINE */ |
| 54 |
no outgoing calls
no test coverage detected