]> Cypherpunks repositories - gostls13.git/commit
crypto/internal/nistec: drop endianness swap assembly
authorFilippo Valsorda <filippo@golang.org>
Sat, 27 Jul 2024 11:58:25 +0000 (13:58 +0200)
committerGopher Robot <gobot@golang.org>
Tue, 19 Nov 2024 22:30:10 +0000 (22:30 +0000)
commite75e5246a97b696ab60208b6dfe1318a92e5e659
tree9fa313894494299a9d74b3a8fabbc14822f95d46
parent5610e05936a87744e0ca2b244c92d24f789a8aed
crypto/internal/nistec: drop endianness swap assembly

It has negligible performance impact now that we have compiler
intrinsics, and removing it helps slightly narrow the gap between
the assembly and Go implementations.

Change-Id: Ia02807a973b567952c659bb4868632a73ff3c143
Reviewed-on: https://go-review.googlesource.com/c/go/+/627939
Reviewed-by: Russ Cox <rsc@golang.org>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Daniel McCarney <daniel@binaryparadox.net>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/crypto/internal/nistec/_asm/p256_asm.go [moved from src/crypto/internal/nistec/_asm/p256_asm_amd64.go with 97% similarity]
src/crypto/internal/nistec/p256_asm.go
src/crypto/internal/nistec/p256_asm_amd64.s
src/crypto/internal/nistec/p256_asm_arm64.s
src/crypto/internal/nistec/p256_asm_ppc64le.s
src/crypto/internal/nistec/p256_asm_s390x.s