Disable RPCC macro on MIPS24K
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Sun, 19 Apr 2020 05:21:48 +0000 (07:21 +0200)
committerGitHub <noreply@github.com>
Sun, 19 Apr 2020 05:21:48 +0000 (07:21 +0200)
common_mips.h

index 2cc9230..dd2f8d5 100644 (file)
@@ -43,6 +43,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 #ifndef ASSEMBLER
 
+#if !defined(MIPS24K)
 static inline unsigned int rpcc(void){
   unsigned long ret;
 
@@ -53,6 +54,7 @@ static inline unsigned int rpcc(void){
   return ret;
 }
 #define RPCC_DEFINED
+#endif
 
 static inline int blas_quickdivide(blasint x, blasint y){
   return x / y;