We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 29fab2b + a367f5f commit 58ee3c0Copy full SHA for 58ee3c0
1 file changed
common_arm64.h
@@ -114,9 +114,9 @@ static __inline BLASULONG rpcc(void){
114
#else
115
BLASULONG ret = 0;
116
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));
+
+ __asm__ __volatile__ ("isb\n\tmrs %0,cntvct_el0":"=r"(ret));
+ __asm__ __volatile__ ("mrs %x0,cntfrq_el0\n\tclz %w0, %w0":"=&r"(shift));
120
121
return ret << shift;
122
#endif
0 commit comments