aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/binary
diff options
context:
space:
mode:
authorJoel Sing <joel@sing.id.au>2021-03-06 04:46:07 +1100
committerJoel Sing <joel@sing.id.au>2021-03-08 03:23:21 +0000
commit125eca0f7210da1bbf1a4a1460a87d1c33366b99 (patch)
tree8b399ec2752041280209c129444b87d7306bdcd8 /src/encoding/binary
parent597b5d192e39d7bba38dd461b96effe6e524984b (diff)
downloadgo-125eca0f7210da1bbf1a4a1460a87d1c33366b99.tar.xz
cmd/compile: improve IsNonNil rule on riscv64
IsNonNil is readily implemented using SNEZ on riscv64, removing over 8,000 instructions from the go binary. Other rules will improve on this sequence, however in this case it makes sense to use a direct simplification. Change-Id: Ib4068599532398afcd05f51d160673ef5fb5e5a0 Reviewed-on: https://go-review.googlesource.com/c/go/+/299230 Trust: Joel Sing <joel@sing.id.au> Reviewed-by: Michael Munday <mike.munday@lowrisc.org> Reviewed-by: Cherry Zhang <cherryyz@google.com> Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Result: Go Bot <gobot@golang.org>
Diffstat (limited to 'src/encoding/binary')
0 files changed, 0 insertions, 0 deletions