diff options
author | Mans Rullgard <mans@mansr.com> | 2010-10-07 01:25:31 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-01-26 03:43:28 +0100 |
commit | d112aa5acc5876170cde03853e7cf330e1dccf19 (patch) | |
tree | 13af31def817ca0da2fd34f1e848b7708225c900 /libavcodec/mips | |
parent | 604eb152fcb9582ed8fba2285110a9e47f78c21d (diff) | |
download | ffmpeg-d112aa5acc5876170cde03853e7cf330e1dccf19.tar.gz |
MIPS: use inline asm only when supported by compiler
(cherry picked from commit 7a5a168abe36c91087e58d89262a3658d21ea2cc)
Diffstat (limited to 'libavcodec/mips')
-rw-r--r-- | libavcodec/mips/mathops.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/mips/mathops.h b/libavcodec/mips/mathops.h index a1b04ed951..b58361f74d 100644 --- a/libavcodec/mips/mathops.h +++ b/libavcodec/mips/mathops.h @@ -25,6 +25,8 @@ #include "config.h" #include "libavutil/common.h" +#if HAVE_INLINE_ASM + #if HAVE_LOONGSON static inline av_const int64_t MAC64(int64_t d, int a, int b) @@ -73,4 +75,6 @@ static inline av_const int64_t MLS64(int64_t d, int a, int b) #endif +#endif /* HAVE_INLINE_ASM */ + #endif /* AVCODEC_MIPS_MATHOPS_H */ |