mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 12:09:55 +00:00
ARM: intmath.h cosmetics
Originally committed as revision 24088 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
216b43aed2
commit
edd7fa82d7
@ -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 @@ static inline av_const int FASTDIV(int a, int b)
|
||||
: "=&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 @@ static inline av_const int FASTDIV(int a, int b)
|
||||
: "=&r"(r), "=&r"(t) : "r"(a), "r"(ff_inverse[b]));
|
||||
return r;
|
||||
}
|
||||
#endif
|
||||
|
||||
#define FASTDIV FASTDIV
|
||||
#endif /* HAVE_ARMV6 */
|
||||
|
||||
#endif /* HAVE_INLINE_ASM */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user