| 28 | |
| 29 | #if HAVE_ARMV6 |
| 30 | static inline av_const int FASTDIV(int a, int b) |
| 31 | { |
| 32 | int r, t; |
| 33 | __asm__ volatile("cmp %3, #2 \n\t" |
| 34 | "ldr %1, [%4, %3, lsl #2] \n\t" |
| 35 | "lsrle %0, %2, #1 \n\t" |
| 36 | "smmulgt %0, %1, %2 \n\t" |
| 37 | : "=&r"(r), "=&r"(t) : "r"(a), "r"(b), "r"(ff_inverse)); |
| 38 | return r; |
| 39 | } |
| 40 | #else |
| 41 | static inline av_const int FASTDIV(int a, int b) |
| 42 | { |
no outgoing calls
no test coverage detected