]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.simd] internal/buildcfg: turn GOEXPERIMENT=simd back on
authorCherry Mui <cherryyz@google.com>
Mon, 24 Nov 2025 21:43:45 +0000 (16:43 -0500)
committerCherry Mui <cherryyz@google.com>
Mon, 24 Nov 2025 22:13:57 +0000 (14:13 -0800)
Turn the experiment back on by default on the dev.simd branch, for
the ease of experimenting and development.

Change-Id: I5f7e945d55d9d2163e2730b15aea471270599550
Reviewed-on: https://go-review.googlesource.com/c/go/+/723942
Reviewed-by: Junyang Shao <shaojunyang@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>

src/internal/buildcfg/exp.go

index df41f79338841fb6a88d45b842625c6388c0dd61..388a89621ca3632dd7b4e86c53071e80ff8eeec0 100644 (file)
@@ -83,6 +83,7 @@ func ParseGOEXPERIMENT(goos, goarch, goexp string) (*ExperimentFlags, error) {
        baseline := goexperiment.Flags{
                RegabiWrappers:        regabiSupported,
                RegabiArgs:            regabiSupported,
+               SIMD:                  goarch == "amd64", // TODO: remove this (default to false) when dev.simd is merged
                Dwarf5:                dwarf5Supported,
                RandomizedHeapBase64:  true,
                SizeSpecializedMalloc: true,