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)
This commit is contained in:
Jasper Lievisse Adriaanse 2015-08-13 10:53:07 +02:00 committed by Martin Storsjo
parent 6c533b8a8e
commit 89dd198533
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ amm-info@iis.fraunhofer.de
#if !defined(CPLX_MUL_MIPS_H) #if !defined(CPLX_MUL_MIPS_H)
#define 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_32x16
//#define FUNCTION_cplxMultDiv2_32x16X2 //#define FUNCTION_cplxMultDiv2_32x16X2