Open Sonicadvance1 opened 1 month ago
https://github.com/rust-lang/rust/commit/c064b6560b7ce0adeb9bbf5d7dcf12b1acb0c807
According to this commit, yield
is basically a nop, so probably want to actually use isb sy
which puts the CPU in to a lower power state. Good to know.
Arm64 supports the
yield
instruction, which would effectively match the spin loop x86 implementation's low_power. Add that to the arm64 path.