changeset 675:361d5a76087d libavutil

ARM: disable inline asm for armcc
author mru
date Thu, 05 Mar 2009 21:20:13 +0000
parents d27f2ec2810b
children 5e391d180d81
files internal.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/internal.h	Thu Mar 05 21:20:10 2009 +0000
+++ b/internal.h	Thu Mar 05 21:20:13 2009 +0000
@@ -134,7 +134,7 @@
             );\
         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 @@
                      : "=&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;