aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCherry Mui <cherryyz@google.com>2025-11-24 16:43:45 -0500
committerCherry Mui <cherryyz@google.com>2025-11-24 14:13:57 -0800
commit1265ebfe274c31713bd5b72f570b36dbf0005e63 (patch)
tree45ef93c2553684ef933410d71b20583f5387f144 /src
parent7d65463a5431063490a229a80f1d4c6cc19a2169 (diff)
downloadgo-1265ebfe274c31713bd5b72f570b36dbf0005e63.tar.xz
[dev.simd] internal/buildcfg: turn GOEXPERIMENT=simd back on
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>
Diffstat (limited to 'src')
-rw-r--r--src/internal/buildcfg/exp.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/internal/buildcfg/exp.go b/src/internal/buildcfg/exp.go
index df41f79338..388a89621c 100644
--- a/src/internal/buildcfg/exp.go
+++ b/src/internal/buildcfg/exp.go
@@ -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,