]> Cypherpunks repositories - gostls13.git/commit
runtime/internal/atomic: align 64-bit types to 8 bytes everywhere
authorMichael Anthony Knyszek <mknyszek@google.com>
Wed, 4 May 2022 19:48:29 +0000 (19:48 +0000)
committerMichael Knyszek <mknyszek@google.com>
Fri, 13 May 2022 16:02:27 +0000 (16:02 +0000)
commit0f715f1ac9565a0e932acf69a69414e3964e38c8
treec85a23bf84cab1713b75ef664cfda9fe6a7c584b
parent2eb8b6eec65d3d214c07067db474bbb93de3443a
runtime/internal/atomic: align 64-bit types to 8 bytes everywhere

This change extends https://go.dev/cl/381317 to the
runtime/internal/atomic package in terms of aligning 64-bit types to 8
bytes, even on 32-bit platforms.

Change-Id: Id8c45577d07b256e3144d88b31f201264295cfcd
Reviewed-on: https://go-review.googlesource.com/c/go/+/404096
Reviewed-by: David Chase <drchase@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
src/cmd/compile/internal/types/size.go
src/runtime/internal/atomic/types.go