]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.typeparams] internal/bytealg: call memeqbody directly in memequal_varlen on...
authorCherry Mui <cherryyz@google.com>
Wed, 2 Jun 2021 22:00:12 +0000 (18:00 -0400)
committerCherry Mui <cherryyz@google.com>
Thu, 3 Jun 2021 14:29:14 +0000 (14:29 +0000)
commit5a008a92e84f05e79fbe9fd8ab283bcee95d54ee
tree5c54f8fef3bc46d61e6d8f5f51577c9676be6107
parent165d39a1d460880f2d28619a4609f272448b0d60
[dev.typeparams] internal/bytealg: call memeqbody directly in memequal_varlen on ARM64

Currently, memequal_varlen opens up a frame and call memequal,
which then tail-calls memeqbody. This CL changes memequal_varlen
tail-calls memeqbody directly.

This makes it simpler to switch to the register ABI in the next
CL.

Change-Id: Ia1367c0abb7f4755fe736c404411793fb9e5c04f
Reviewed-on: https://go-review.googlesource.com/c/go/+/324399
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/internal/bytealg/equal_arm64.s