]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/ssagen: improve intrinsic test
authorJoel Sing <joel@sing.id.au>
Thu, 15 Aug 2024 15:17:05 +0000 (01:17 +1000)
committerJoel Sing <joel@sing.id.au>
Tue, 27 Aug 2024 14:34:47 +0000 (14:34 +0000)
commitf490a8d8fa7a4cd4bbb5de22efe6b629ad65bb9e
treefad17f3e074a78ca9a9ead5db725930bfeebfcc5
parentdff15aa610f44a414069e6123fe1e16e7d65065c
cmd/compile/internal/ssagen: improve intrinsic test

Now that we can pass configuration to initIntrinsics, clean up the
intrinsic test and always enable power10. Additionally, provide an
-update flag that prints out updated golden values.

Change-Id: Ibfef339d513a4d67d53a5a310a82165592ca338f
Reviewed-on: https://go-review.googlesource.com/c/go/+/607055
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssagen/intrinsics_test.go