MIPS: use inline asm only when supported by compiler
This commit is contained in:
parent
2fd9035ddc
commit
7a5a168abe
2 changed files with 8 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue