aboutsummaryrefslogtreecommitdiff
path: root/src/internal/pkgbits/pkgbits_test.go
diff options
context:
space:
mode:
authorJoel Sing <joel@sing.id.au>2024-08-19 23:54:17 +1000
committerJoel Sing <joel@sing.id.au>2024-08-28 13:46:24 +0000
commite126129d7612349874828685c2bcd49de498a1a0 (patch)
tree28a045d64afb4b0b1392179757b9614d24e30780 /src/internal/pkgbits/pkgbits_test.go
parentaeac0b6cbfb42bc9c9301913a191bb09454d316a (diff)
downloadgo-e126129d7612349874828685c2bcd49de498a1a0.tar.xz
cmd/compile/internal/ssa: combine shift and addition for riscv64 rva22u64
When GORISCV64 enables rva22u64, combined shift and addition using the SH1ADD, SH2ADD and SH3ADD instructions that are available via the Zba extension. This results in more than 2000 instructions being removed from the Go binary on riscv64. Change-Id: Ia62ae7dda3d8083cff315113421bee73f518eea8 Reviewed-on: https://go-review.googlesource.com/c/go/+/606636 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Mark Ryan <markdryan@rivosinc.com> Reviewed-by: Michael Pratt <mpratt@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Meng Zhuo <mengzhuo1203@gmail.com>
Diffstat (limited to 'src/internal/pkgbits/pkgbits_test.go')
0 files changed, 0 insertions, 0 deletions