diff options
author | Ian Lance Taylor <iant@golang.org> | 2021-09-07 14:37:55 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2021-09-07 15:05:11 -0700 |
commit | 21b046bade1c2666b82139d18c8b318bb051415e (patch) | |
tree | 83378f4024d54f9bbbb549dade3530fe530a058b /libgo | |
parent | doc: BPF CO-RE documentation (diff) | |
download | gcc-21b046bade1c2666b82139d18c8b318bb051415e.tar.gz gcc-21b046bade1c2666b82139d18c8b318bb051415e.tar.bz2 gcc-21b046bade1c2666b82139d18c8b318bb051415e.tar.xz |
runtime: use hash32, not hash64, for amd64p32, mips64p32, mips64p32le
Fixes PR go/102102
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/348015
Diffstat (limited to 'libgo')
-rw-r--r-- | libgo/go/runtime/hash32.go | 4 | ||||
-rw-r--r-- | libgo/go/runtime/hash64.go | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libgo/go/runtime/hash32.go b/libgo/go/runtime/hash32.go index 58ae38b200d..0df73035c05 100644 --- a/libgo/go/runtime/hash32.go +++ b/libgo/go/runtime/hash32.go | |||
@@ -5,8 +5,8 @@ | |||
5 | // Hashing algorithm inspired by | 5 | // Hashing algorithm inspired by |
6 | // wyhash: https://github.com/wangyi-fudan/wyhash/blob/ceb019b530e2c1c14d70b79bfa2bc49de7d95bc1/Modern%20Non-Cryptographic%20Hash%20Function%20and%20Pseudorandom%20Number%20Generator.pdf | 6 | // wyhash: https://github.com/wangyi-fudan/wyhash/blob/ceb019b530e2c1c14d70b79bfa2bc49de7d95bc1/Modern%20Non-Cryptographic%20Hash%20Function%20and%20Pseudorandom%20Number%20Generator.pdf |
7 | 7 | ||
8 | //go:build 386 || arm || mips || mipsle || armbe || m68k || nios2 || ppc || riscv || s390 || sh || shbe || sparc | 8 | //go:build 386 || arm || mips || mipsle || amd64p32 || armbe || m68k || mips64p32 || mips64p32le || nios2 || ppc || riscv || s390 || sh || shbe || sparc |
9 | // +build 386 arm mips mipsle armbe m68k nios2 ppc riscv s390 sh shbe sparc | 9 | // +build 386 arm mips mipsle amd64p32 armbe m68k mips64p32 mips64p32le nios2 ppc riscv s390 sh shbe sparc |
10 | 10 | ||
11 | package runtime | 11 | package runtime |
12 | 12 | ||
diff --git a/libgo/go/runtime/hash64.go b/libgo/go/runtime/hash64.go index 4b32d515c4b..96ed90b9753 100644 --- a/libgo/go/runtime/hash64.go +++ b/libgo/go/runtime/hash64.go | |||
@@ -5,8 +5,8 @@ | |||
5 | // Hashing algorithm inspired by | 5 | // Hashing algorithm inspired by |
6 | // wyhash: https://github.com/wangyi-fudan/wyhash | 6 | // wyhash: https://github.com/wangyi-fudan/wyhash |
7 | 7 | ||
8 | //go:build amd64 || arm64 || mips64 || mips64le || ppc64 || ppc64le || riscv64 || s390x || wasm || alpha || amd64p32 || arm64be || ia64 || mips64p32 || mips64p32le || sparc64 | 8 | //go:build amd64 || arm64 || mips64 || mips64le || ppc64 || ppc64le || riscv64 || s390x || wasm || alpha || arm64be || ia64 || sparc64 |
9 | // +build amd64 arm64 mips64 mips64le ppc64 ppc64le riscv64 s390x wasm alpha amd64p32 arm64be ia64 mips64p32 mips64p32le sparc64 | 9 | // +build amd64 arm64 mips64 mips64le ppc64 ppc64le riscv64 s390x wasm alpha arm64be ia64 sparc64 |
10 | 10 | ||
11 | package runtime | 11 | package runtime |
12 | 12 | ||