]> Cypherpunks repositories - gostls13.git/commit
simd/archsimd: guard test helpers with amd64 tag
authorCherry Mui <cherryyz@google.com>
Tue, 23 Dec 2025 18:25:36 +0000 (13:25 -0500)
committerDavid Chase <drchase@google.com>
Wed, 24 Dec 2025 13:26:28 +0000 (05:26 -0800)
commita5fe8c07ae7ae96049f692c43008ad2f770924c7
treedd6345f169db06e8feeb2056b69250e5213d4bdf
parenta23d1a4ebe5ca1f4964ad51a92d99edf5a95d530
simd/archsimd: guard test helpers with amd64 tag

The test helpers load vectors. Currently the load functions are
only available on AMD64, so guard them with the tag. Now

GOEXPERIMENT=simd go test simd/...

doesn't fail on a non-AMD64 machine.

Change-Id: Ie75f1fbb3b91629bc477b3140630bc47a4ef5b63
Reviewed-on: https://go-review.googlesource.com/c/go/+/732380
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
src/simd/archsimd/_gen/tmplgen/main.go
src/simd/archsimd/internal/simd_test/binary_helpers_test.go
src/simd/archsimd/internal/simd_test/compare_helpers_test.go
src/simd/archsimd/internal/simd_test/comparemasked_helpers_test.go
src/simd/archsimd/internal/simd_test/ternary_helpers_test.go
src/simd/archsimd/internal/simd_test/unary_helpers_test.go