On Dez 18 2016, John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de> wrote:
> I knew m68k has CAS/CAS2, but my suspicion was that lock-free atomics > require LDREX/STREX-alike instructions since older ARM implementations > have SWP/SWPB as well. So it shouldn't be too different from the CAS > instructions on m68k, should it? SWP is UP-only, and armv8 doesn't implement it. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."