]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/ssagen: factor out intrinsics code
authorJoel Sing <joel@sing.id.au>
Fri, 2 Aug 2024 15:22:58 +0000 (01:22 +1000)
committerJoel Sing <joel@sing.id.au>
Tue, 20 Aug 2024 14:20:34 +0000 (14:20 +0000)
commitc6c9634515e6128a5acb8645dced62581f5d1b1b
tree3ad64d569b34f009efd93e70b117a4beb63d0acf
parentb6f05cc3335d8a3058a7892835b10d82fad31046
cmd/compile/internal/ssagen: factor out intrinsics code

The intrinsic handling code is a good thousand lines in the fairly
large ssa.go file. This code is already reasonably self-contained - factor
it out into a separate file so that future changes are easier to manage
(and it becomes easier to add/change intrinsics for an architecture).

Change-Id: I3c18d3d1bb6332f1817d902150e736373bf1ac81
Reviewed-on: https://go-review.googlesource.com/c/go/+/605477
Reviewed-by: Carlos Amedee <carlos@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/cmd/compile/internal/ssagen/intrinsics.go [new file with mode: 0644]
src/cmd/compile/internal/ssagen/ssa.go