diff options
| author | Keith Randall <khr@golang.org> | 2023-04-19 16:41:37 -0700 |
|---|---|---|
| committer | Keith Randall <khr@google.com> | 2023-04-20 15:45:06 +0000 |
| commit | 22a840aa9bfbabd7b4daf5c5f9852e1c68908d03 (patch) | |
| tree | 916fcafde3a860e6c399a6342d4ac2c426113ef2 /src/runtime/stack.go | |
| parent | 8588a3fa08c1eb320869781926f83d3928a7de4e (diff) | |
| download | go-22a840aa9bfbabd7b4daf5c5f9852e1c68908d03.tar.xz | |
runtime: mix a bit more in arm64 hash function
We really need 3 mix steps between the data being hashed and the output.
One mix can only spread a 1 bit change to 32 bits. The second mix
can spread to all 128 bits, but the spread is not complete. A third mix
spreads out ~evenly to all 128 bits.
The amd64 version has 3 mix steps.
Fixes #59643
Change-Id: I54ad8686ca42bcffb6d0ec3779d27af682cc96e9
Reviewed-on: https://go-review.googlesource.com/c/go/+/486616
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/runtime/stack.go')
0 files changed, 0 insertions, 0 deletions
