On 2022/05/16 18:04, Martin Husemann wrote:
On Sun, May 15, 2022 at 08:17:40PM +0000, skrll%NetBSD.org@localhost wrote:Can this be closed. The code looks OK to me. If someone ever tries to do MP on armv5 then maybe it can be revisitedI would be happy with antything that makes the tests pass (they still fail, on non-MP armv5).
You mean __sync_{bool,val}_compare_and_swap_1? https://www.netbsd.org/~martin/evbarm-atf/402_atf.html#lib_libc_atomic_t___sync_compare_and_swap___sync_bool_compare_and_swap_1 This smells like a compiler bug. I was just going to examine this :) I will send details later... Thanks, rin