thermosphere: optimize barrier and core_ctx

This commit is contained in:
TuxSH
2020-01-26 15:07:26 +00:00
parent 1f2b8e7918
commit 8538fed043
7 changed files with 53 additions and 33 deletions

View File

@@ -42,7 +42,7 @@ END_FUNCTION
FUNCTION spinlockTryLock
mov x1, x0
mov w2, #1
prfm pstl1strm, [x1]
prfm pstl1keep, [x1]
1:
ldaxr w0, [x1]
cbnz w0, 2f