From: David Chase Date: Thu, 22 May 2025 22:14:51 +0000 (-0400) Subject: [dev.simd] internal/buildcfg: enable SIMD GOEXPERIMENT for amd64 X-Git-Tag: go1.26rc1~147^2~262 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=2ef7106881db51b485f092af93c1a1f01b60ab16;p=gostls13.git [dev.simd] internal/buildcfg: enable SIMD GOEXPERIMENT for amd64 Since we are developing and testing this, the default is on. This may still cause us a little headache when developing on other-architecture laptops. Change-Id: I9e9e5ea4ff2312c0c8385386b5012370f00dbfbd Reviewed-on: https://go-review.googlesource.com/c/go/+/675735 LUCI-TryBot-Result: Go LUCI Reviewed-by: Cherry Mui --- diff --git a/src/internal/buildcfg/exp.go b/src/internal/buildcfg/exp.go index e36ec08a5b..17a02415c4 100644 --- a/src/internal/buildcfg/exp.go +++ b/src/internal/buildcfg/exp.go @@ -84,6 +84,7 @@ func ParseGOEXPERIMENT(goos, goarch, goexp string) (*ExperimentFlags, error) { AliasTypeParams: true, SwissMap: true, SyncHashTrieMap: true, + SIMD: goarch == "amd64", // TODO remove this (default to false) when dev.simd is merged Dwarf5: dwarf5Supported, }