Revision edd7fa82 libavutil/arm/intmath.h

View differences:

libavutil/arm/intmath.h
27 27
#if HAVE_INLINE_ASM
28 28

  
29 29
#if HAVE_ARMV6
30

  
31
#define FASTDIV FASTDIV
30 32
static inline av_const int FASTDIV(int a, int b)
31 33
{
32 34
    int r, t;
......
37 39
                     : "=&r"(r), "=&r"(t) : "r"(a), "r"(b), "r"(ff_inverse));
38 40
    return r;
39 41
}
40
#else
42

  
43
#else /* HAVE_ARMV6 */
44

  
45
#define FASTDIV FASTDIV
41 46
static inline av_const int FASTDIV(int a, int b)
42 47
{
43 48
    int r, t;
......
45 50
                     : "=&r"(r), "=&r"(t) : "r"(a), "r"(ff_inverse[b]));
46 51
    return r;
47 52
}
48
#endif
49 53

  
50
#define FASTDIV FASTDIV
54
#endif /* HAVE_ARMV6 */
51 55

  
52 56
#endif /* HAVE_INLINE_ASM */
53 57

  

Also available in: Unified diff