go/src/internal/buildcfg
Joel Sing dff15aa610 cmd/compile/internal/ssagen: provide intrinsicBuilders
Create an intrinsicBuilders type that has functions for adding and
looking up intrinsics. This makes the implementation more self contained,
readable and testable. Additionally, pass an *intrinsicBuildConfig to
initIntrinsics to improve testability without needing to modify package
level variables.

Change-Id: I0ee0a19c192dd6da9f1c5f1c29b98a3ad8161fe2
Reviewed-on: https://go-review.googlesource.com/c/go/+/605478
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Joel Sing <joel@sing.id.au>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@golang.org>
2024-08-27 14:27:25 +00:00
..
cfg.go cmd/compile/internal/ssagen: provide intrinsicBuilders 2024-08-27 14:27:25 +00:00
cfg_test.go cmd/compile,cmd/go,cmd/internal,runtime: remove dynamic checks for atomics for ARM64 targets that support LSE 2024-03-21 20:08:06 +00:00
exp.go internal/abi, internal/buildcfg: always enable register ABI on loong64 2024-04-15 17:38:52 +00:00