]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: optimise branchs on riscv64
authorJoel Sing <joel@sing.id.au>
Mon, 30 Mar 2020 15:04:45 +0000 (02:04 +1100)
committerJoel Sing <joel@sing.id.au>
Sun, 10 May 2020 14:43:46 +0000 (14:43 +0000)
commit57e32c4fbd4f20d567d1767dfc2d94bec828a8dc
treeb0524682ed6fc484bace3aafca552a4d78ee6ade
parent000636fdb58c9444b17e54977382dc1d6357e8c3
cmd/compile: optimise branchs on riscv64

Make use of multi-control values and branch pseudo-instructions to optimise
compiler generated branches.

Change-Id: I7a8bf754db3c2082a390bf6a662ccf18cbcbee39
Reviewed-on: https://go-review.googlesource.com/c/go/+/226400
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/ssa/gen/RISCV64.rules
src/cmd/compile/internal/ssa/rewriteRISCV64.go