1
0
mirror of https://github.com/golang/go synced 2024-11-16 19:54:55 -07:00

runtime: add ABIInternal to strhash and memhash on riscv64

This CL fixes regression of strhash and memhash on riscv64

Change-Id: Icc10431a8199c8b1eb7b440cb42be4e53420e171
Reviewed-on: https://go-review.googlesource.com/c/go/+/362134
Run-TryBot: mzh <mzh@golangcn.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
This commit is contained in:
Meng Zhuo 2021-11-07 21:37:25 +08:00 committed by mzh
parent e6dfdbd11d
commit 96c8cc7fea

View File

@ -213,14 +213,14 @@ TEXT runtime·morestack_noctxt(SB),NOSPLIT|NOFRAME,$0-0
JMP runtime·morestack(SB) JMP runtime·morestack(SB)
// AES hashing not implemented for riscv64 // AES hashing not implemented for riscv64
TEXT runtime·memhash(SB),NOSPLIT|NOFRAME,$0-32 TEXT runtime·memhash<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-32
JMP runtime·memhashFallback(SB) JMP runtime·memhashFallback<ABIInternal>(SB)
TEXT runtime·strhash(SB),NOSPLIT|NOFRAME,$0-24 TEXT runtime·strhash<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-24
JMP runtime·strhashFallback(SB) JMP runtime·strhashFallback<ABIInternal>(SB)
TEXT runtime·memhash32(SB),NOSPLIT|NOFRAME,$0-24 TEXT runtime·memhash32<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-24
JMP runtime·memhash32Fallback(SB) JMP runtime·memhash32Fallback<ABIInternal>(SB)
TEXT runtime·memhash64(SB),NOSPLIT|NOFRAME,$0-24 TEXT runtime·memhash64<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-24
JMP runtime·memhash64Fallback(SB) JMP runtime·memhash64Fallback<ABIInternal>(SB)
// func return0() // func return0()
TEXT runtime·return0(SB), NOSPLIT, $0 TEXT runtime·return0(SB), NOSPLIT, $0