You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Despite the addition of an additional instruction, this may hypotheti-
cally confer a performance benefit: In `wait_until_woken_up`, if the
pend operation didn't complete before the subsequent `enter_cpu_lock`
operation, `wait_until_woken_up` would run extra iterations before
PendSV is actually taken, thereby incurring performance penalty. The DSB
operation prevents this from happening.
The measured changes in the execution times of the benchmark suite lie
across the ranges of -3–+5 cycles (STM32F401, Cortex-M4F) and
-158–0 cycles (RP2040, Cortex-M0+).
0 commit comments