cmd/dist: test GOEXPERIMENT=simd on AMD64

Change-Id: Iaf8bb811cd8c674c801d8e068fcc753e889ac672
Reviewed-on: https://go-review.googlesource.com/c/go/+/729721
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
This commit is contained in:
Cherry Mui 2025-12-12 13:31:45 -05:00
parent ee0275d15b
commit d30884ba1f

View File

@ -762,6 +762,15 @@ func (t *tester) registerTests() {
})
}
// Test GOEXPERIMENT=simd on amd64.
if goarch == "amd64" && !strings.Contains(goexperiment, "simd") {
t.registerTest("GOEXPERIMENT=simd go test simd/archsimd/...", &goTest{
variant: "simd",
env: []string{"GOEXPERIMENT=simd"},
pkg: "simd/archsimd/...",
})
}
// Test ios/amd64 for the iOS simulator.
if goos == "darwin" && goarch == "amd64" && t.cgoEnabled {
t.registerTest("GOOS=ios on darwin/amd64",