From 89dd19853393d5fddce7823520cd7ebd662c60d3 Mon Sep 17 00:00:00 2001 From: Jasper Lievisse Adriaanse Date: Thu, 13 Aug 2015 10:53:07 +0200 Subject: [PATCH] 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_mips.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libFDK/include/mips/cplx_mul_mips.h b/libFDK/include/mips/cplx_mul_mips.h index acae118..e4856b6 100644 --- a/libFDK/include/mips/cplx_mul_mips.h +++ b/libFDK/include/mips/cplx_mul_mips.h @@ -103,7 +103,7 @@ amm-info@iis.fraunhofer.de #if !defined(CPLX_MUL_MIPS_H) #define CPLX_MUL_MIPS_H -#if defined(__GNUC__) && defined(__mips__) && __mips_isa_rev < 6 +#if defined(__GNUC__) && defined(__mips_isa_rev) && __mips_isa_rev < 6 //#define FUNCTION_cplxMultDiv2_32x16 //#define FUNCTION_cplxMultDiv2_32x16X2