-
-
Notifications
You must be signed in to change notification settings - Fork 394
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some users wrongly pass both -mips16 and -mdsp when compiling on MIPS platforms. Handle such a case. Signed-off-by: Rosen Penev <[email protected]>
- Loading branch information
Showing
5 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,7 +107,7 @@ [email protected] | |
|
||
#if defined(__GNUC__) && defined(__mips__) | ||
|
||
#if defined(__mips_dsp) | ||
#if defined(__mips_dsp) && !defined(__mips16) | ||
#define FUNCTION_fixabs_D | ||
#define FUNCTION_fixabs_I | ||
#define FUNCTION_fixabs_S | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -103,7 +103,7 @@ [email protected] | |
#ifndef SCALE_MIPS_H | ||
#define SCALE_MIPS_H | ||
|
||
#if defined(__mips_dsp) | ||
#if defined(__mips_dsp) && !defined(__mips16) | ||
|
||
/*! | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,7 +108,7 @@ [email protected] | |
#if defined(__arm__) | ||
#include "arm/scramble_arm.h" | ||
|
||
#elif defined(__mips__) && defined(__mips_dsp) | ||
#elif defined(__mips__) && defined(__mips_dsp) && !defined(__mips16) | ||
#include "mips/scramble_mips.h" | ||
|
||
#endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -109,7 +109,7 @@ [email protected] | |
#if defined(__arm__) | ||
#include "arm/fft_rad2_arm.cpp" | ||
|
||
#elif defined(__GNUC__) && defined(__mips__) && defined(__mips_dsp) | ||
#elif defined(__GNUC__) && defined(__mips__) && defined(__mips_dsp) && !defined(__mips16) | ||
#include "mips/fft_rad2_mips.cpp" | ||
|
||
#endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,7 +100,7 @@ [email protected] | |
*******************************************************************************/ | ||
|
||
#if defined(__mips_dsp) | ||
#if defined(__mips_dsp) && !defined(__mips16) | ||
|
||
#ifndef FUNCTION_getScalefactor_DBL | ||
#define FUNCTION_getScalefactor_DBL | ||
|