#ifndef COMMON_MIPS
#define COMMON_MIPS
-#define MB
-#define WMB
+#define MB __sync_synchronize()
+#define WMB __sync_synchronize()
#define INLINE inline
#ifndef ASSEMBLER
-static void INLINE blas_lock(volatile unsigned long *address){
-
-}
-#define BLAS_LOCK_DEFINED
-
static inline unsigned int rpcc(void){
unsigned long ret;