mirror of
https://github.com/golang/go
synced 2024-11-22 04:44:39 -07:00
sync/atomic: update comment for ARM 64-bit atomics
They don't work on older chips, just like the x86-32 64-bit atomics. Update #6134 R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/12880043
This commit is contained in:
parent
74e78df107
commit
2642c6e24d
@ -47,6 +47,8 @@ import (
|
||||
|
||||
// BUG(rsc): On x86-32, the 64-bit functions use instructions unavailable before the Pentium MMX.
|
||||
//
|
||||
// On non-Linux ARM, the 64-bit functions use instructions unavailable before the ARMv6k core.
|
||||
//
|
||||
// On both ARM and x86-32, it is the caller's responsibility to arrange for 64-bit
|
||||
// alignment of 64-bit words accessed atomically. The first word in a global
|
||||
// variable or in an allocated struct or slice can be relied upon to be
|
||||
|
Loading…
Reference in New Issue
Block a user