From 2585f10da2c20ad639948d1af113f2cd591dd946 Mon Sep 17 00:00:00 2001 From: Jasper Lievisse Adriaanse Date: Thu, 13 Aug 2015 10:53:07 +0200 Subject: Fix the preprocessor statements controlling the use of mips{32,64}r1 instructions. Only enable code using mips32/mips64 instructions if the compiler is targetting this ISA. (integer madd and msub instructions aren't available in the ``canonical'' mips ISAs) --- libFDK/include/mips/cplx_mul.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libFDK/include/mips/cplx_mul.h b/libFDK/include/mips/cplx_mul.h index 43cdbd0..c933911 100644 --- a/libFDK/include/mips/cplx_mul.h +++ b/libFDK/include/mips/cplx_mul.h @@ -89,7 +89,7 @@ amm-info@iis.fraunhofer.de ******************************************************************************/ -#if defined(__GNUC__) && defined(__mips__) && __mips_isa_rev < 6 +#if defined(__GNUC__) && defined(__mips_isa_rev) && __mips_isa_rev < 6 //#define FUNCTION_cplxMultDiv2_32x16 -- cgit v1.2.3