We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2cde2c commit b687fbaCopy full SHA for b687fba
common_arm64.h
@@ -78,17 +78,18 @@ static void __inline blas_lock(volatile BLASULONG *address){
78
79
#define BLAS_LOCK_DEFINED
80
81
+#if !defined(OS_DARWIN) && !defined (OS_ANDROID)
82
static __inline BLASULONG rpcc(void){
83
BLASULONG ret = 0;
84
- __asm__ __volatile__ ("mrs %0,cntvct_el0":"=r"(ret));
85
+ __asm__ __volatile__ ("isb; mrs %0,cntvct_el0":"=r"(ret));
86
87
return ret;
88
}
89
90
#define RPCC_DEFINED
91
#define RPCC64BIT
-
92
+#endif
93
94
static inline int blas_quickdivide(blasint x, blasint y){
95
return x / y;
0 commit comments