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>
diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go
index aae16c1..6d37425 100644
--- a/src/cmd/dist/test.go
+++ b/src/cmd/dist/test.go
@@ -762,6 +762,15 @@
 		})
 	}
 
+	// 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",