avutil/mips/intreadwrite: build fix for mips64r6 (instruction 'lwl' not supported)
authorShivraj Patil <shivraj.patil@imgtec.com>
Thu, 9 Apr 2015 14:24:04 +0000 (19:54 +0530)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 10 Apr 2015 11:03:44 +0000 (13:03 +0200)
Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com>
Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/mips/intreadwrite.h

index 9ba0491..32084f6 100644 (file)
@@ -24,7 +24,7 @@
 #include <stdint.h>
 #include "config.h"
 
-#if ARCH_MIPS64 && HAVE_INLINE_ASM
+#if ARCH_MIPS64 && HAVE_INLINE_ASM && !HAVE_MIPS64R6
 
 #define AV_RN32 AV_RN32
 static av_always_inline uint32_t AV_RN32(const void *p)
@@ -41,6 +41,6 @@ static av_always_inline uint32_t AV_RN32(const void *p)
     return v;
 }
 
-#endif /* ARCH_MIPS64 && HAVE_INLINE_ASM */
+#endif /* ARCH_MIPS64 && HAVE_INLINE_ASM && !HAVE_MIPS64R6 */
 
 #endif /* AVUTIL_MIPS_INTREADWRITE_H */