Mercurial > libavutil.hg
changeset 980:f08c66310125 libavutil
ARM: intmath.h cosmetics
author | mru |
---|---|
date | Wed, 07 Jul 2010 17:27:48 +0000 |
parents | a3c26f53e6fa |
children | d004c9e2aa40 |
files | arm/intmath.h |
diffstat | 1 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/arm/intmath.h Wed Jul 07 17:27:45 2010 +0000 +++ b/arm/intmath.h Wed Jul 07 17:27:48 2010 +0000 @@ -27,6 +27,8 @@ #if HAVE_INLINE_ASM #if HAVE_ARMV6 + +#define FASTDIV FASTDIV static inline av_const int FASTDIV(int a, int b) { int r, t; @@ -37,7 +39,10 @@ : "=&r"(r), "=&r"(t) : "r"(a), "r"(b), "r"(ff_inverse)); return r; } -#else + +#else /* HAVE_ARMV6 */ + +#define FASTDIV FASTDIV static inline av_const int FASTDIV(int a, int b) { int r, t; @@ -45,9 +50,8 @@ : "=&r"(r), "=&r"(t) : "r"(a), "r"(ff_inverse[b])); return r; } -#endif -#define FASTDIV FASTDIV +#endif /* HAVE_ARMV6 */ #endif /* HAVE_INLINE_ASM */