Browse Source

Disable RPCC macro on MIPS24K

tags/v0.3.10^2
Martin Kroeker GitHub 6 years ago
parent
commit
8792fc4d5f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      common_mips.h

+ 2
- 0
common_mips.h View File

@@ -43,6 +43,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


#ifndef ASSEMBLER #ifndef ASSEMBLER


#if !defined(MIPS24K)
static inline unsigned int rpcc(void){ static inline unsigned int rpcc(void){
unsigned long ret; unsigned long ret;


@@ -53,6 +54,7 @@ static inline unsigned int rpcc(void){
return ret; return ret;
} }
#define RPCC_DEFINED #define RPCC_DEFINED
#endif


static inline int blas_quickdivide(blasint x, blasint y){ static inline int blas_quickdivide(blasint x, blasint y){
return x / y; return x / y;


Loading…
Cancel
Save