@@ -13,9 +13,9 @@ modification, are permitted provided that the following conditions are
1313 notice, this list of conditions and the following disclaimer in
1414 the documentation and/or other materials provided with the
1515 distribution.
16- 3. Neither the name of the OpenBLAS project nor the names of
17- its contributors may be used to endorse or promote products
18- derived from this software without specific prior written
16+ 3. Neither the name of the OpenBLAS project nor the names of
17+ its contributors may be used to endorse or promote products
18+ derived from this software without specific prior written
1919 permission.
2020
2121THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
@@ -114,17 +114,17 @@ static __inline BLASULONG rpcc(void){
114114 #else
115115 BLASULONG ret = 0 ;
116116 blasint shift ;
117-
118- __asm__ __volatile__ ("isb; mrs %0,cntvct_el0" :"=r" (ret ));
119- __asm__ __volatile__ ("mrs %0 ,cntfrq_el0; clz %w0, %w0" :"=&r" (shift ));
117+
118+ __asm__ __volatile__ ("isb\n\tmrs %0,cntvct_el0" :"=r" (ret ));
119+ __asm__ __volatile__ ("mrs %x0 ,cntfrq_el0\n\tclz %w0, %w0" :"=&r" (shift ));
120120
121121 return ret << shift ;
122122 #endif
123123}
124124
125125#define RPCC_DEFINED
126126#define RPCC64BIT
127- #endif
127+ #endif
128128
129129static inline int blas_quickdivide (blasint x , blasint y ){
130130 return x / y ;
@@ -149,7 +149,7 @@ static inline int blas_quickdivide(blasint x, blasint y){
149149
150150#if defined(ASSEMBLER ) && !defined(NEEDPARAM )
151151
152- .macro PROLOGUE
152+ .macro PROLOGUE
153153 .text ;
154154 .p2align 2 ;
155155 .global REALNAME ;
0 commit comments