github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/testdata/atomic.txt (about) 1 AddInt32: 3 3 2 AddInt64: 3 3 3 AddUint32: 13 13 4 AddUint64: 13 13 5 AddUintptr: 13 13 6 SwapInt32: 3 33 7 SwapInt64: 3 33 8 SwapUint32: 13 33 9 SwapUint64: 13 33 10 SwapUintptr: 13 33 11 SwapPointer: true true 12 CompareAndSwapInt32: false -5 13 CompareAndSwapInt32: true 3 14 CompareAndSwapInt64: false -5 15 CompareAndSwapInt64: true 3 16 CompareAndSwapUint32: false 5 17 CompareAndSwapUint32: true 3 18 CompareAndSwapUint64: false 5 19 CompareAndSwapUint64: true 3 20 CompareAndSwapUintptr: false 5 21 CompareAndSwapUintptr: true 3 22 CompareAndSwapPointer: false true 23 CompareAndSwapPointer: true true 24 LoadInt32: 3 25 LoadInt64: 3 26 LoadUint32: 3 27 LoadUint64: 3 28 LoadUintptr: 3 29 LoadPointer: true 30 StoreInt32: -20 31 StoreInt64: -20 32 StoreUint32: 20 33 StoreUint64: 20 34 StoreUintptr: 20 35 StorePointer: true 36 deferred atomic add: 8 37 deferred volatile store: 22