aboutsummaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
authorJoel Sing <joel@sing.id.au>2022-09-01 20:36:34 +1000
committerJoel Sing <joel@sing.id.au>2022-09-17 17:17:52 +0000
commita7bcc94719a5a79241aa3ce35c1e2dbb83b94af7 (patch)
tree21a92ce927b5e943afedccc5615f1a4b66b107e1 /src/debug
parentcc1b20e8adf83865a1dbffa259c7a04ef0699b43 (diff)
downloadgo-a7bcc94719a5a79241aa3ce35c1e2dbb83b94af7.tar.xz
cmd/compile: resolve known outcomes for SLTI/SLTIU on riscv64
When SLTI/SLTIU is used with ANDI/ORI, it may be possible to determine the outcome based on the values of the immediates. Resolve these cases. Improves code generation for various shift operations. While here, sort tests by architecture to improve readability and ease future maintenance. Change-Id: I87e71e016a0e396a928e7d6389a2df61583dfd8d Reviewed-on: https://go-review.googlesource.com/c/go/+/428217 Reviewed-by: Wayne Zuo <wdvxdr@golangcn.org> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Jenny Rakoczy <jenny@golang.org> Reviewed-by: Jenny Rakoczy <jenny@golang.org> Run-TryBot: Joel Sing <joel@sing.id.au> Reviewed-by: Cherry Mui <cherryyz@google.com> Auto-Submit: Jenny Rakoczy <jenny@golang.org>
Diffstat (limited to 'src/debug')
0 files changed, 0 insertions, 0 deletions