Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
runtime: procyield doesn't use yield instruction on ARM, unlike ARM64 #16663
Please answer these questions before submitting your issue. Thanks!
I have not had a problem with this myself, just happened to notice it.
Use of the
Busy-wait with no
Note that it could be the case that the ARM64 version is in error, since
referenced this issue
Nov 7, 2016
Taking another look at this, ARMv7 skirts around clearly stating that YIELD is a NOP on earlier architectures, but I'm pretty sure it is.
Based on the instruction encoding, on ARMv5 it will be interpreted as an MSR instruction with
If I'm following the pseudo-code correctly, the ultimate effect of this will be CPSR = CPSR. In other words, a NOP.