#include <stdint.h>
#include "libavutil/common.h"
#include <stdint.h>
#include "libavutil/common.h"
# define MULL MULL
static inline av_const int MULL(int a, int b, unsigned shift)
{
# define MULL MULL
static inline av_const int MULL(int a, int b, unsigned shift)
{
+#endif /* HAVE_INLINE_ASM */
+
#endif /* AVCODEC_ARM_MATHOPS_H */
#endif /* AVCODEC_ARM_MATHOPS_H */
+#elif HAVE_ARMV6 && HAVE_INLINE_ASM
static inline av_const int FASTDIV(int a, int b)
{
int r, t;
static inline av_const int FASTDIV(int a, int b)
{
int r, t;
: "=&r"(r), "=&r"(t) : "r"(a), "r"(b), "r"(ff_inverse));
return r;
}
: "=&r"(r), "=&r"(t) : "r"(a), "r"(b), "r"(ff_inverse));
return r;
}
+#elif ARCH_ARM && HAVE_INLINE_ASM
static inline av_const int FASTDIV(int a, int b)
{
int r, t;
static inline av_const int FASTDIV(int a, int b)
{
int r, t;