> >Or do we have a list of architectures that support those gcc builtins > >somewhere already ? > > > > I don't know if we have a list somewhere, but I do know that no MIPS archs > have those atomics, so at a minimum, we'd have to block out mips64 and > mips64el.
Mips64 is an ll/sc platform (as are alpha, powerpc and sparc64). On such platforms every atomic operation on int or long is trivial to implement.
