mirror of
https://github.com/golang/go.git
synced 2025-12-28 06:34:04 +00:00
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:
parent
ee0275d15b
commit
d30884ba1f
9
src/cmd/dist/test.go
vendored
9
src/cmd/dist/test.go
vendored
@ -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",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user