[go] simd/archsimd: guard test helpers with amd64 tag

2 views
Skip to first unread message

David Chase (Gerrit)

unread,
Dec 24, 2025, 8:26:33 AM (24 hours ago) Dec 24
to Cherry Mui, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Go LUCI, golang-co...@googlegroups.com

David Chase submitted the change

Change information

Commit message:
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-by: David Chase <drc...@google.com>
Files:
  • M src/simd/archsimd/_gen/tmplgen/main.go
  • M src/simd/archsimd/internal/simd_test/binary_helpers_test.go
  • M src/simd/archsimd/internal/simd_test/compare_helpers_test.go
  • M src/simd/archsimd/internal/simd_test/comparemasked_helpers_test.go
  • M src/simd/archsimd/internal/simd_test/ternary_helpers_test.go
  • M src/simd/archsimd/internal/simd_test/unary_helpers_test.go
Change size: S
Delta: 6 files changed, 6 insertions(+), 6 deletions(-)
Branch: refs/heads/master
Submit Requirements:
  • requirement satisfiedCode-Review: +2 by David Chase
  • requirement satisfiedTryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: Ie75f1fbb3b91629bc477b3140630bc47a4ef5b63
Gerrit-Change-Number: 732380
Gerrit-PatchSet: 2
Gerrit-Owner: Cherry Mui <cher...@google.com>
Gerrit-Reviewer: Cherry Mui <cher...@google.com>
Gerrit-Reviewer: David Chase <drc...@google.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages