]> Cypherpunks repositories - gostls13.git/commit
crypto,internal/bytealg: fix assembly that clobbers BP
authorKeith Randall <khr@golang.org>
Tue, 11 Aug 2020 20:04:48 +0000 (13:04 -0700)
committerKeith Randall <khr@golang.org>
Sun, 16 Aug 2020 17:05:18 +0000 (17:05 +0000)
commitc6a11f0dd279f374602794af60c7cde4585a1e6f
tree88538958d2106664547d885a9de38043700653c5
parentd30363062283dcdca4392ef61f13f9b332ca8bc3
crypto,internal/bytealg: fix assembly that clobbers BP

BP should be callee-save. It will be saved automatically if
there is a nonzero frame size. Otherwise, we need to avoid this register.

Change-Id: If3f551efa42d830c8793d9f0183cb8daad7a2ab5
Reviewed-on: https://go-review.googlesource.com/c/go/+/248260
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Martin Möhrmann <moehrmann@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/crypto/elliptic/p256_asm_amd64.s
src/crypto/md5/md5block_amd64.s
src/internal/bytealg/index_amd64.s
src/runtime/sys_linux_amd64.s