]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.simd] internal/buildcfg: enable SIMD GOEXPERIMENT for amd64
authorDavid Chase <drchase@google.com>
Thu, 22 May 2025 22:14:51 +0000 (18:14 -0400)
committerDavid Chase <drchase@google.com>
Tue, 27 May 2025 21:24:38 +0000 (14:24 -0700)
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 <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/internal/buildcfg/exp.go

index e36ec08a5b0232656bd3f45b61ba2079d0da813f..17a02415c42b075d49cbd3245c9f91697ad88a39 100644 (file)
@@ -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,
        }