]> Cypherpunks repositories - gostls13.git/commit
runtime/internal/math: add Add64
authorRuss Cox <rsc@golang.org>
Mon, 7 Aug 2023 19:52:18 +0000 (15:52 -0400)
committerGopher Robot <gobot@golang.org>
Wed, 16 Aug 2023 16:03:04 +0000 (16:03 +0000)
commit53895bf993f0822fcf8910b80b20a6e0c684c60d
treeb1eb1d8703633aac46d97c967164e33e7eff4a8f
parent98c9f271d67b501ecf2ce995539abd2cdc81d505
runtime/internal/math: add Add64

This makes the intrinsic available on 64-bit platforms,
since the runtime cannot import math/bits.

Change-Id: I5296cc6a97d1cb4756ab369d96dc9605df9f8247
Reviewed-on: https://go-review.googlesource.com/c/go/+/516861
Reviewed-by: Keith Randall <khr@google.com>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
TryBot-Bypass: Russ Cox <rsc@golang.org>
src/cmd/compile/internal/ssagen/ssa.go
src/runtime/internal/math/math.go