mirror of
https://github.com/golang/go.git
synced 2026-06-27 19:30:52 +00:00
runtime: on arm64 use all of the hash seed on 32-bit hashes
Even though we're hashing a 32-bit item, we can still use all 64 bits of the seed. Just a minor tweak I noticed, probably doesn't materially change anything. Change-Id: I744eef7577e83932abe1d1dc3af6bf2cd1010c51 Reviewed-on: https://go-review.googlesource.com/c/go/+/755781 Reviewed-by: Junyang Shao <shaojunyang@google.com> Auto-Submit: Keith Randall <khr@golang.org> Reviewed-by: Keith Randall <khr@google.com> LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
parent
82fd4c4967
commit
8fe0c0eb63
1 changed files with 2 additions and 2 deletions
|
|
@ -682,8 +682,8 @@ TEXT runtime·memhash32<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-24
|
|||
|
||||
VEOR V0.B16, V0.B16, V0.B16
|
||||
VLD1 (R3), [V2.B16]
|
||||
VLD1 (R0), V0.S[1]
|
||||
VMOV R1, V0.S[0]
|
||||
VLD1 (R0), V0.S[2]
|
||||
VMOV R1, V0.D[0]
|
||||
|
||||
AESE V2.B16, V0.B16
|
||||
AESMC V0.B16, V0.B16
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue