#include <stdint.h>
#include "libavutil/common.h"
+#if HAVE_INLINE_ASM
+
# define MULL MULL
static inline av_const int MULL(int a, int b, unsigned shift)
{
return m;
}
+#endif /* HAVE_INLINE_ASM */
+
#endif /* AVCODEC_ARM_MATHOPS_H */
);\
ret;\
})
-#elif HAVE_ARMV6
+#elif HAVE_ARMV6 && HAVE_INLINE_ASM
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;
}
-#elif ARCH_ARM
+#elif ARCH_ARM && HAVE_INLINE_ASM
static inline av_const int FASTDIV(int a, int b)
{
int r, t;