diff options
author | Måns Rullgård <mans@mansr.com> | 2009-03-05 21:20:13 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2009-03-05 21:20:13 +0000 |
commit | 35690321a72348b8c45bdaa1618d98ad7e628b80 (patch) | |
tree | e30b43d08fe8194e5966aa9ff498937ffbe3137b /libavutil | |
parent | 1e65f62e2b15f087e14d62f567266994f1a9ec59 (diff) | |
download | ffmpeg-35690321a72348b8c45bdaa1618d98ad7e628b80.tar.gz |
ARM: disable inline asm for armcc
Originally committed as revision 17831 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h index f5f769e2c0..4191aa8e52 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -134,7 +134,7 @@ extern const uint32_t ff_inverse[256]; );\ ret;\ }) -#elif HAVE_ARMV6 +#elif HAVE_ARMV6 && HAVE_INLINE_ASM static inline av_const int FASTDIV(int a, int b) { int r, t; @@ -145,7 +145,7 @@ static inline av_const int FASTDIV(int a, int b) : "=&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; |